File tree 1 file changed +1
-48
lines changed
deploy/helm/nifi-operator/templates
1 file changed +1
-48
lines changed Original file line number Diff line number Diff line change @@ -121,53 +121,6 @@ rules:
121
121
resourceNames :
122
122
- {{ include "operator.name" . }}-clusterrole
123
123
124
- {{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
125
- ---
126
- apiVersion : security.openshift.io/v1
127
- kind : SecurityContextConstraints
128
- metadata :
129
- name : nifi-scc
130
- labels :
131
- {{- include "operator.labels" . | nindent 4 }}
132
- annotations :
133
- kubernetes.io/description : |-
134
- This resource is derived from hostmount-anyuid. It provides all the features of the
135
- restricted SCC but allows host mounts and any UID by a pod. This is primarily
136
- used by the persistent volume recycler. WARNING: this SCC allows host file
137
- system access as any UID, including UID 0. Grant with caution.
138
- release.openshift.io/create-only : " true"
139
- allowHostDirVolumePlugin : true
140
- allowHostIPC : false
141
- allowHostNetwork : false
142
- allowHostPID : false
143
- allowHostPorts : false
144
- allowPrivilegeEscalation : true
145
- allowPrivilegedContainer : false
146
- allowedCapabilities : null
147
- defaultAddCapabilities : null
148
- fsGroup :
149
- type : RunAsAny
150
- groups : []
151
- priority : null
152
- readOnlyRootFilesystem : false
153
- runAsUser :
154
- type : RunAsAny
155
- seLinuxContext :
156
- type : MustRunAs
157
- supplementalGroups :
158
- type : RunAsAny
159
- volumes :
160
- - configMap
161
- - downwardAPI
162
- - emptyDir
163
- - hostPath
164
- - nfs
165
- - persistentVolumeClaim
166
- - projected
167
- - secret
168
- - ephemeral
169
- - csi
170
- {{ end }}
171
124
---
172
125
apiVersion : rbac.authorization.k8s.io/v1
173
126
kind : ClusterRole
@@ -196,7 +149,7 @@ rules:
196
149
resources :
197
150
- securitycontextconstraints
198
151
resourceNames :
199
- - nifi-scc
152
+ - nonroot-v2
200
153
verbs :
201
154
- use
202
155
{{ end }}
You can’t perform that action at this time.
0 commit comments