Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Commit f9af0db

Browse files
committed
Get Secret RBAC for 0.1.x
Fixes: #151
1 parent 2a251f7 commit f9af0db

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mysql-operator/templates/02-rbac.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ rules:
3131

3232
- apiGroups: [""]
3333
resources: ["secrets"]
34-
verbs: ["create"]
34+
verbs:
35+
{{- if hasPrefix "0.1" .Values.image.tag }}
36+
- get
37+
{{- end}}
38+
- create
3539

3640
- apiGroups: [""]
3741
resources:

0 commit comments

Comments
 (0)