-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathibm-privileged-scc.yaml
44 lines (43 loc) · 967 Bytes
/
ibm-privileged-scc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# This SCC is the least restrictive, and is meant to be a template
# Pass the --validate=false flag when applying
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: ibm-privileged-scc
allowHostDirVolumePlugin: true
allowHostIPC: true
allowHostNetwork: true
allowHostPID: true
allowHostPorts: true
allowPrivilegedContainer: true
allowPrivilegeEscalation: true
allowedCapabilities:
- '*'
allowedFlexVolumes: []
allowedUnsafeSysctls:
- '*'
defaultAddCapabilities: []
defaultAllowPrivilegeEscalation: true
forbiddenSysctls: []
fsGroup:
type: RunAsAny
readOnlyRootFilesystem: false
requiredDropCapabilities: []
runAsUser:
type: RunAsAny
seccompProfiles:
- '*'
# This can be customized for your host machine
seLinuxContext:
type: RunAsAny
# seLinuxOptions:
# level:
# user:
# role:
# type:
supplementalGroups:
type: RunAsAny
volumes:
- '*'
# If you want a priority on your SCC -- set for a value more than 0
# priority: