Compare commits

..

2 Commits

Author SHA1 Message Date
8b65362c75 made some naming errors. fixed 2026-01-13 10:06:35 +11:00
9b3563ebfc fixed the name of restricted-hostpath 2026-01-13 10:04:28 +11:00
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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