Skip to content

Commit d179042

Browse files
committed
fix(helm/roles): Move crd/get permission outside the maintenance gate
1 parent 32d8717 commit d179042

File tree

1 file changed

+1
-1
lines changed
  • deploy/helm/zookeeper-operator/templates

1 file changed

+1
-1
lines changed

deploy/helm/zookeeper-operator/templates/roles.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ rules:
9898
resources:
9999
- customresourcedefinitions
100100
verbs:
101+
- get
101102
# Required to maintain the CRD. The operator needs to do this, as it needs to enter e.g. it's
102103
# generated certificate in the conversion webhook.
103104
{{- if .Values.maintenance.customResourceDefinitions.maintain }}
104105
- create
105106
- patch
106-
- get
107107
# Required for startup condition
108108
- list
109109
- watch

0 commit comments

Comments
 (0)