Skip to content

Commit 0970763

Browse files
committed
chore: Always allow customresourcedefinitions list/watch.
Required for startup condition regardless of CRD maintenance
1 parent c672fbb commit 0970763

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • deploy/helm/opensearch-operator/templates

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ rules:
8686
{{- if .Values.maintenance.customResourceDefinitions.maintain }}
8787
- create
8888
- patch
89+
{{- end }}
8990
# Required for startup condition
9091
- list
9192
- watch
92-
{{- end }}
9393
# Listeners (stackable-listener-operator CRD) expose OpenSearch endpoints via a
9494
# cluster-level abstraction. Applied via SSA, tracked for orphan cleanup, watched via .owns().
9595
# get is also used directly in dereference.rs to fetch the discovery service Listener.

0 commit comments

Comments
 (0)