Skip to content

Commit 2726953

Browse files
authored
chore: Preserve comment on part of rule
1 parent 5dc06db commit 2726953

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

deploy/helm/opa-operator/templates/clusterrole-operator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ rules:
8181
resources:
8282
- customresourcedefinitions
8383
verbs:
84+
# Required to maintain the CRD. The operator needs to do this, as it needs to enter e.g. it's
85+
# generated certificate in the conversion webhook.
8486
{{- if .Values.maintenance.customResourceDefinitions.maintain }}
8587
- create
8688
- patch

0 commit comments

Comments
 (0)