Skip to content

Commit 94d0c16

Browse files
committed
recreate strategy needed for operators
1 parent 351a528 commit 94d0c16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

samples/mysql-schema/k8s/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ spec:
1313
matchLabels:
1414
app: mysql-schema-operator
1515
replicas: 1
16+
strategy:
17+
type: Recreate
1618
template:
1719
metadata:
1820
labels:
@@ -73,7 +75,7 @@ metadata:
7375
apiVersion: rbac.authorization.k8s.io/v1
7476
kind: ClusterRoleBinding
7577
metadata:
76-
name: operator-admin
78+
name: mysql-schema-operator
7779
subjects:
7880
- kind: ServiceAccount
7981
name: mysql-schema-operator

0 commit comments

Comments
 (0)