Skip to content

Commit

Permalink
Merge pull request rook#10547 from sp98/operator-upgrade-strategy
Browse files Browse the repository at this point in the history
manifest: use `Recreate` strategy for operator upgrade
  • Loading branch information
travisn authored Jul 5, 2022
2 parents 5dadd6a + 693c2d9 commit 864ea2f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/charts/rook-ceph/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
selector:
matchLabels:
app: rook-ceph-operator
strategy:
type: Recreate
template:
metadata:
labels:
Expand Down
2 changes: 2 additions & 0 deletions deploy/examples/operator-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ spec:
selector:
matchLabels:
app: rook-ceph-operator
strategy:
type: Recreate
replicas: 1
template:
metadata:
Expand Down
2 changes: 2 additions & 0 deletions deploy/examples/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ spec:
selector:
matchLabels:
app: rook-ceph-operator
strategy:
type: Recreate
replicas: 1
template:
metadata:
Expand Down

0 comments on commit 864ea2f

Please sign in to comment.