File tree 1 file changed +1
-47
lines changed
deploy/helm/opa-operator/templates
1 file changed +1
-47
lines changed Original file line number Diff line number Diff line change @@ -101,52 +101,6 @@ rules:
101
101
resourceNames :
102
102
- {{ include "operator.name" . }}-clusterrole
103
103
104
- {{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
105
- ---
106
- apiVersion : security.openshift.io/v1
107
- kind : SecurityContextConstraints
108
- metadata :
109
- name : opa-scc
110
- labels :
111
- {{- include "operator.labels" . | nindent 4 }}
112
- annotations :
113
- kubernetes.io/description : |-
114
- This resource is derived from hostmount-anyuid. It provides all the features of the
115
- restricted SCC but allows host mounts and any UID by a pod. This is primarily
116
- used by the persistent volume recycler. WARNING: this SCC allows host file
117
- system access as any UID, including UID 0. Grant with caution.
118
- release.openshift.io/create-only : " true"
119
- allowHostDirVolumePlugin : true
120
- allowHostIPC : false
121
- allowHostNetwork : false
122
- allowHostPID : false
123
- allowHostPorts : false
124
- allowPrivilegeEscalation : true
125
- allowPrivilegedContainer : false
126
- allowedCapabilities : null
127
- defaultAddCapabilities : null
128
- fsGroup :
129
- type : RunAsAny
130
- groups : []
131
- priority : null
132
- readOnlyRootFilesystem : false
133
- runAsUser :
134
- type : RunAsAny
135
- seLinuxContext :
136
- type : MustRunAs
137
- supplementalGroups :
138
- type : RunAsAny
139
- volumes :
140
- - configMap
141
- - downwardAPI
142
- - emptyDir
143
- - hostPath
144
- - nfs
145
- - persistentVolumeClaim
146
- - projected
147
- - secret
148
- - ephemeral
149
- {{ end }}
150
104
---
151
105
apiVersion : rbac.authorization.k8s.io/v1
152
106
kind : ClusterRole
@@ -177,7 +131,7 @@ rules:
177
131
resources :
178
132
- securitycontextconstraints
179
133
resourceNames :
180
- - opa-scc
134
+ - nonroot-v2
181
135
verbs :
182
136
- use
183
137
{{ end }}
You can’t perform that action at this time.
0 commit comments