We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20c927b commit 91631c1Copy full SHA for 91631c1
1 file changed
deploy/helm/hdfs-operator/templates/clusterrole-product.yaml
@@ -8,6 +8,18 @@ metadata:
8
labels:
9
{{- include "operator.labels" . | nindent 4 }}
10
rules:
11
+ # List and get pods for peer discovery (e.g. format-namenodes discovering namenode peers).
12
+ # These must live here in the product ClusterRole (not just in the nodes ClusterRole) because
13
+ # the nodes ClusterRoleBinding is updated asynchronously and may not yet include this service
14
+ # account when format-namenodes runs for the first time.
15
+ - apiGroups:
16
+ - ""
17
+ resources:
18
+ - pods
19
+ verbs:
20
+ - get
21
+ - list
22
+ - watch
23
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
24
# Required on OpenShift to allow HDFS pods to run as a non-root user.
25
- apiGroups:
0 commit comments