Skip to content

Commit 699e8ba

Browse files
committed
chore: Remove unused rules
1 parent 3443e34 commit 699e8ba

1 file changed

Lines changed: 1 addition & 18 deletions

File tree

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

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ metadata:
66
{{- include "operator.labels" . | nindent 4 }}
77
rules:
88
# For automatic cluster domain detection
9-
- apiGroups:
10-
- ""
11-
resources:
12-
- nodes
13-
verbs:
14-
- list
15-
- watch
16-
# For automatic cluster domain detection
179
- apiGroups:
1810
- ""
1911
resources:
@@ -154,16 +146,7 @@ metadata:
154146
labels:
155147
{{- include "operator.labels" . | nindent 4 }}
156148
rules:
157-
# HBase pods need to read their own ConfigMap, Secret, and ServiceAccount at runtime.
158-
- apiGroups:
159-
- ""
160-
resources:
161-
- configmaps
162-
- secrets
163-
- serviceaccounts
164-
verbs:
165-
- get
166-
# For emitting Kubernetes events from within the HBase pods
149+
# Allows HBase pods to emit Kubernetes events (e.g. for lifecycle notifications).
167150
- apiGroups:
168151
- events.k8s.io
169152
resources:

0 commit comments

Comments
 (0)