Skip to content

Commit 98358e7

Browse files
committed
Add roles for replica templates
Signed-off-by: Andrew Hall <[email protected]>
1 parent 49d4d47 commit 98358e7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

charts/rollout-operator/templates/role.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ rules:
3030
- statefulsets/status
3131
verbs:
3232
- update
33+
{{- if .Values.webhooks.enabled }}
3334
- apiGroups:
3435
- rollout-operator.grafana.com
3536
resources:
@@ -38,3 +39,12 @@ rules:
3839
- get
3940
- list
4041
- watch
42+
- apiGroups:
43+
- rollout-operator.grafana.com
44+
resources:
45+
- replicatemplates/scale
46+
- replicatemplates/status
47+
verbs:
48+
- get
49+
- patch
50+
{{- end }}

0 commit comments

Comments
 (0)