Skip to content

Commit bd01aa5

Browse files
committed
chore: Remove unused permissions
1 parent d893401 commit bd01aa5

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ metadata:
77
{{- include "operator.labels" . | nindent 4 }}
88
rules:
99
# For automatic cluster domain detection
10-
- apiGroups:
11-
- ""
12-
resources:
13-
- nodes
14-
verbs:
15-
- list
16-
- watch
17-
# For automatic cluster domain detection
1810
- apiGroups:
1911
- ""
2012
resources:
@@ -168,16 +160,6 @@ metadata:
168160
labels:
169161
{{- include "operator.labels" . | nindent 4 }}
170162
rules:
171-
# Workload pods need to read their own ConfigMaps (configuration), Secrets (credentials,
172-
# TLS certs), and ServiceAccount tokens at runtime.
173-
- apiGroups:
174-
- ""
175-
resources:
176-
- configmaps
177-
- secrets
178-
- serviceaccounts
179-
verbs:
180-
- get
181163
# For workload pods to emit Kubernetes events.
182164
- apiGroups:
183165
- events.k8s.io

0 commit comments

Comments
 (0)