Skip to content

Commit 8a73019

Browse files
Merge pull request #273 from kattz-kawa/update-controller-rolling-strategy
Change Deployment UpdateStrategy
2 parents 9b04278 + a7f0d7a commit 8a73019

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

bundle/manifests/self-node-remediation.clusterserviceversion.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,11 @@ spec:
273273
matchLabels:
274274
control-plane: controller-manager
275275
self-node-remediation-operator: ""
276-
strategy: {}
276+
strategy:
277+
rollingUpdate:
278+
maxSurge: 0
279+
maxUnavailable: 1
280+
type: RollingUpdate
277281
template:
278282
metadata:
279283
labels:

config/manager/manager.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ spec:
1717
matchLabels:
1818
control-plane: controller-manager
1919
replicas: 2
20+
strategy:
21+
type: RollingUpdate
22+
rollingUpdate:
23+
maxSurge: 0
24+
maxUnavailable: 1
2025
template:
2126
metadata:
2227
labels:

0 commit comments

Comments
 (0)