Skip to content

Commit 30f1b19

Browse files
committed
chore: Remove the nodes list/watch rule for the operator clusterrole
1 parent 18e3988 commit 30f1b19

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

  • deploy/helm/opensearch-operator/templates

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,7 @@ metadata:
55
labels:
66
{{- include "operator.labels" . | nindent 4 }}
77
rules:
8-
# For automatic cluster domain detection: nodes are listed/watched to find a node to
9-
# proxy through, and nodes/proxy is used to read kubelet info that contains the cluster domain.
10-
- apiGroups:
11-
- ""
12-
resources:
13-
- nodes
14-
verbs:
15-
- list
16-
- watch
8+
# For automatic cluster domain detection.
179
- apiGroups:
1810
- ""
1911
resources:

0 commit comments

Comments
 (0)