-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpccs-rbac.yaml
More file actions
49 lines (49 loc) · 963 Bytes
/
pccs-rbac.yaml
File metadata and controls
49 lines (49 loc) · 963 Bytes
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
45
46
47
48
49
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: pccs-service-account
namespace: intel-dcap
---
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: pccs-scc
annotations:
kubernetes.io/description: "SCC for Intel DCAP PCCS service requiring privileged access and hostPath volumes"
allowHostDirVolumePlugin: true
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegedContainer: true
allowedCapabilities:
- DAC_OVERRIDE
- SETGID
- SETUID
defaultAddCapabilities: null
fsGroup:
type: RunAsAny
priority: null
readOnlyRootFilesystem: false
requiredDropCapabilities:
- KILL
- MKNOD
- SETPCAP
- SYS_CHROOT
runAsUser:
type: RunAsAny
seLinuxContext:
type: MustRunAs
supplementalGroups:
type: RunAsAny
users:
- system:serviceaccount:intel-dcap:pccs-service-account
volumes:
- configMap
- downwardAPI
- emptyDir
- hostPath
- persistentVolumeClaim
- projected
- secret