Merge pull request #17503 from OdedViner/test_nvme_ocp
nvmeof: add sys_admin to scc allowedcapabilities for gateway pods
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -17,7 +17,7 @@ allowHostNetwork: false
|
||||
allowHostPorts: false
|
||||
{{- end }}
|
||||
priority:
|
||||
allowedCapabilities: ["MKNOD"]
|
||||
allowedCapabilities: ["MKNOD", "SYS_ADMIN"]
|
||||
allowHostIPC: true
|
||||
readOnlyRootFilesystem: false
|
||||
# drop all default privileges
|
||||
|
||||
@@ -19,7 +19,7 @@ allowHostNetwork: false
|
||||
allowHostPorts: false
|
||||
{{- end }}
|
||||
priority:
|
||||
allowedCapabilities: ["MKNOD"]
|
||||
allowedCapabilities: ["MKNOD", "SYS_ADMIN"]
|
||||
allowHostIPC: true
|
||||
readOnlyRootFilesystem: false
|
||||
# drop all default privileges
|
||||
|
||||
@@ -41,7 +41,7 @@ func NewSecurityContextConstraints(name string, namespaces ...string) *secv1.Sec
|
||||
AllowHostIPC: true,
|
||||
AllowHostNetwork: false,
|
||||
AllowHostPorts: false,
|
||||
AllowedCapabilities: []corev1.Capability{"MKNOD"},
|
||||
AllowedCapabilities: []corev1.Capability{"MKNOD", "SYS_ADMIN"},
|
||||
RequiredDropCapabilities: []corev1.Capability{"ALL"},
|
||||
DefaultAddCapabilities: []corev1.Capability{},
|
||||
RunAsUser: secv1.RunAsUserStrategyOptions{
|
||||
|
||||
Reference in new issue
Block a user