Compare commits
2 Commits
e228753c59
...
8b65362c75
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b65362c75 | |||
| 9b3563ebfc |
@@ -1,13 +1,13 @@
|
|||||||
apiVersion: security.openshift.io/v1
|
apiVersion: security.openshift.io/v1
|
||||||
kind: SecurityContextConstraints
|
kind: SecurityContextConstraints
|
||||||
metadata:
|
metadata:
|
||||||
name: restricted-hostpath-privesc
|
name: restricted-hostpath-privesc # this scc allows hostPath and allowPrivilegeEscalation
|
||||||
allowHostDirVolumePlugin: true
|
allowHostDirVolumePlugin: true
|
||||||
allowHostIPC: false
|
allowHostIPC: false
|
||||||
allowHostNetwork: false
|
allowHostNetwork: false
|
||||||
allowHostPID: false
|
allowHostPID: false
|
||||||
allowHostPorts: false
|
allowHostPorts: false
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: true
|
||||||
allowPrivilegedContainer: false
|
allowPrivilegedContainer: false
|
||||||
allowedCapabilities:
|
allowedCapabilities:
|
||||||
- CHOWN
|
- CHOWN
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
apiVersion: security.openshift.io/v1
|
apiVersion: security.openshift.io/v1
|
||||||
kind: SecurityContextConstraints
|
kind: SecurityContextConstraints
|
||||||
metadata:
|
metadata:
|
||||||
name: restricted-hostpath-privesc
|
name: restricted-hostpath
|
||||||
allowHostDirVolumePlugin: true # Needed for /dev/dri hostPath
|
allowHostDirVolumePlugin: true #this scc allows hostPath
|
||||||
allowHostIPC: false
|
allowHostIPC: false
|
||||||
allowHostNetwork: false
|
allowHostNetwork: false
|
||||||
allowHostPID: false
|
allowHostPID: false
|
||||||
allowHostPorts: false
|
allowHostPorts: false
|
||||||
allowPrivilegeEscalation: true
|
allowPrivilegeEscalation: false
|
||||||
allowPrivilegedContainer: false
|
allowPrivilegedContainer: false
|
||||||
allowedCapabilities:
|
allowedCapabilities:
|
||||||
- CHOWN
|
- CHOWN
|
||||||
|
|||||||
Reference in New Issue
Block a user