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