Skip to content

Commit 483f404

Browse files
committed
fix: Always allow customresourcedefinitions list/watch, else operator startup fails
1 parent 643a638 commit 483f404

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ rules:
8888
{{- if .Values.maintenance.customResourceDefinitions.maintain }}
8989
- create
9090
- patch
91+
{{- end }}
9192
# Required for startup condition
9293
- list
9394
- watch
94-
{{- end }}
9595
- apiGroups:
9696
- events.k8s.io
9797
resources:

0 commit comments

Comments
 (0)