Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1875 - PodDisruptionBudget Bug #2262

Merged
merged 2 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion devops/openshift/api-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ objects:
spec:
selector:
matchLabels:
app: ${NAME}
deploymentconfig: ${NAME}
maxUnavailable: 1
parameters:
- name: NAME
Expand Down
5 changes: 3 additions & 2 deletions devops/openshift/database/mongo-ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,10 @@ objects:
- apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: ${NAME}-pdb
name: ${MONGODB_SERVICE_NAME}-pdb
spec:
selector:
matchLabels:
app: ${NAME}
app: forms
statefulset: ${MONGODB_SERVICE_NAME}
maxUnavailable: 1
2 changes: 1 addition & 1 deletion devops/openshift/queue-consumers-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ objects:
spec:
selector:
matchLabels:
app: ${NAME}
deploymentconfig: ${NAME}
maxUnavailable: 1
parameters:
- name: NAME
Expand Down
2 changes: 1 addition & 1 deletion devops/openshift/web-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ objects:
spec:
selector:
matchLabels:
app: ${NAME}
deploymentconfig: ${NAME}
maxUnavailable: 1
parameters:
- name: NAME
Expand Down
2 changes: 1 addition & 1 deletion devops/openshift/workers-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ objects:
spec:
selector:
matchLabels:
app: ${NAME}
deploymentconfig: ${NAME}
maxUnavailable: 1
parameters:
- name: NAME
Expand Down