Skip to content

Instantly share code, notes, and snippets.

@fatihbaltaci
Created July 26, 2024 16:03
Show Gist options
  • Save fatihbaltaci/b2e02f2aff0c9cda1869c3e046edb6d3 to your computer and use it in GitHub Desktop.
Save fatihbaltaci/b2e02f2aff0c9cda1869c3e046edb6d3 to your computer and use it in GitHub Desktop.
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: alaz-scc
allowHostPID: true
allowPrivilegedContainer: true
allowHostDirVolumePlugin: true
allowedCapabilities:
- ALL
defaultAddCapabilities: []
fsGroup:
type: RunAsAny
runAsUser:
type: RunAsAny
seLinuxContext:
type: RunAsAny
supplementalGroups:
type: RunAsAny
volumes:
- hostPath
- emptyDir
- configMap
- secret
- persistentVolumeClaim
users:
- system:serviceaccount:anteon:alaz-serviceaccount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment