You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy/helm/nifi-operator/templates/clusterrole-operator.yaml
+1-43Lines changed: 1 addition & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
---
1
2
apiVersion: rbac.authorization.k8s.io/v1
2
3
kind: ClusterRole
3
4
metadata:
@@ -163,46 +164,3 @@ rules:
163
164
- get
164
165
- list
165
166
- watch
166
-
167
-
---
168
-
apiVersion: rbac.authorization.k8s.io/v1
169
-
kind: ClusterRole
170
-
metadata:
171
-
name: {{ include "operator.name" . }}-clusterrole
172
-
labels:
173
-
{{- include "operator.labels" . | nindent 4 }}
174
-
rules:
175
-
# Required for Kubernetes-managed clustering, see https://nifi.apache.org/nifi-docs/administration-guide.html#kubernetes-clustering
176
-
- apiGroups:
177
-
- coordination.k8s.io
178
-
resources:
179
-
- leases
180
-
verbs:
181
-
- create
182
-
- get
183
-
- update
184
-
# undocumented but required
185
-
- patch
186
-
# Required for Kubernetes cluster state provider, see https://nifi.apache.org/nifi-docs/administration-guide.html#kubernetes-configmap-cluster-state-provider
187
-
- apiGroups:
188
-
- ""
189
-
resources:
190
-
- configmaps
191
-
verbs:
192
-
- create
193
-
- delete
194
-
- get
195
-
- list
196
-
- patch
197
-
- update
198
-
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
# Required for Kubernetes-managed clustering, see https://nifi.apache.org/nifi-docs/administration-guide.html#kubernetes-clustering
10
+
- apiGroups:
11
+
- coordination.k8s.io
12
+
resources:
13
+
- leases
14
+
verbs:
15
+
- create
16
+
- get
17
+
- update
18
+
# undocumented but required
19
+
- patch
20
+
# Required for Kubernetes cluster state provider, see https://nifi.apache.org/nifi-docs/administration-guide.html#kubernetes-configmap-cluster-state-provider
21
+
- apiGroups:
22
+
- ""
23
+
resources:
24
+
- configmaps
25
+
verbs:
26
+
- create
27
+
- delete
28
+
- get
29
+
- list
30
+
- patch
31
+
- update
32
+
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
0 commit comments