Created
June 14, 2022 12:58
-
-
Save mangelajo/5e704a5453863eac5b391b6cd42ab080 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: SecurityContextConstraints | |
apiVersion: security.openshift.io/v1 | |
metadata: | |
annotations: | |
kubernetes.io/description: Restrict plugins UID range. | |
name: restricted-plugins | |
fsGroup: | |
type: MustRunAs | |
groups: | |
- system:authenticated | |
users: | |
- system:serviceaccount:app-plugin1:default | |
priority: 10 | |
readOnlyRootFilesystem: false | |
requiredDropCapabilities: | |
- KILL | |
- MKNOD | |
- SETUID | |
- SETGID | |
runAsUser: | |
type: MustRunAs | |
UID: 2000 | |
seLinuxContext: | |
type: MustRunAs | |
supplementalGroups: | |
type: RunAsAny | |
allowHostDirVolumePlugin: false | |
allowHostIPC: false | |
allowHostNetwork: false | |
allowHostPID: false | |
allowHostPorts: false | |
allowPrivilegeEscalation: true | |
allowPrivilegedContainer: false | |
allowedCapabilities: null | |
defaultAddCapabilities: null | |
volumes: | |
- configMap | |
- downwardAPI | |
- emptyDir | |
- persistentVolumeClaim | |
- projected | |
- secret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment