File tree 1 file changed +1
-48
lines changed
deploy/helm/hive-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
- bind
122
122
resourceNames :
123
123
- {{ include "operator.name" . }}-clusterrole
124
-
125
- {{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
126
- ---
127
- apiVersion : security.openshift.io/v1
128
- kind : SecurityContextConstraints
129
- metadata :
130
- name : hive-scc
131
- labels :
132
- {{- include "operator.labels" . | nindent 4 }}
133
- annotations :
134
- kubernetes.io/description : |-
135
- This resource is derived from hostmount-anyuid. It provides all the features of the
136
- restricted SCC but allows host mounts and any UID by a pod. This is primarily
137
- used by the persistent volume recycler. WARNING: this SCC allows host file
138
- system access as any UID, including UID 0. Grant with caution.
139
- release.openshift.io/create-only : " true"
140
- allowHostDirVolumePlugin : true
141
- allowHostIPC : false
142
- allowHostNetwork : false
143
- allowHostPID : false
144
- allowHostPorts : false
145
- allowPrivilegeEscalation : true
146
- allowPrivilegedContainer : false
147
- allowedCapabilities : null
148
- defaultAddCapabilities : null
149
- fsGroup :
150
- type : RunAsAny
151
- groups : []
152
- priority : null
153
- readOnlyRootFilesystem : false
154
- runAsUser :
155
- type : RunAsAny
156
- seLinuxContext :
157
- type : MustRunAs
158
- supplementalGroups :
159
- type : RunAsAny
160
- volumes :
161
- - configMap
162
- - downwardAPI
163
- - emptyDir
164
- - hostPath
165
- - nfs
166
- - persistentVolumeClaim
167
- - projected
168
- - secret
169
- - ephemeral
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
- - hive-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