From 693c2d9306514f4babeb688a8dd86f555cc6b69f Mon Sep 17 00:00:00 2001 From: Santosh Pillai Date: Mon, 4 Jul 2022 15:28:42 +0530 Subject: [PATCH] manifest: use `Recreate` strategy for operator upgrade Use `Recreate` strategy instead of `RollingUpdate` for rook-ceph-operator deployement upgrade Signed-off-by: Santosh Pillai --- deploy/charts/rook-ceph/templates/deployment.yaml | 2 ++ deploy/examples/operator-openshift.yaml | 2 ++ deploy/examples/operator.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/deploy/charts/rook-ceph/templates/deployment.yaml b/deploy/charts/rook-ceph/templates/deployment.yaml index 232ff09b3..922aa5c14 100644 --- a/deploy/charts/rook-ceph/templates/deployment.yaml +++ b/deploy/charts/rook-ceph/templates/deployment.yaml @@ -11,6 +11,8 @@ spec: selector: matchLabels: app: rook-ceph-operator + strategy: + type: Recreate template: metadata: labels: diff --git a/deploy/examples/operator-openshift.yaml b/deploy/examples/operator-openshift.yaml index 7f9ff976f..40fa5edad 100644 --- a/deploy/examples/operator-openshift.yaml +++ b/deploy/examples/operator-openshift.yaml @@ -534,6 +534,8 @@ spec: selector: matchLabels: app: rook-ceph-operator + strategy: + type: Recreate replicas: 1 template: metadata: diff --git a/deploy/examples/operator.yaml b/deploy/examples/operator.yaml index 8f9a348db..f97d986f5 100644 --- a/deploy/examples/operator.yaml +++ b/deploy/examples/operator.yaml @@ -455,6 +455,8 @@ spec: selector: matchLabels: app: rook-ceph-operator + strategy: + type: Recreate replicas: 1 template: metadata: