diff options
author | Satoe Imaishi <simaishi@redhat.com> | 2018-01-18 17:33:00 -0500 |
---|---|---|
committer | Satoe Imaishi <simaishi@redhat.com> | 2018-01-18 17:37:56 -0500 |
commit | 3bcca52246ed7a4b1c64adcf231133fee03a3ad0 (patch) | |
tree | 3262bf6333a59e078a558517e5509c81104f88df /roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-scc-sysadmin.yaml | |
parent | e1e5cdcdfd094079a2362d679bc08758a89a03d3 (diff) | |
download | openshift-3bcca52246ed7a4b1c64adcf231133fee03a3ad0.tar.gz openshift-3bcca52246ed7a4b1c64adcf231133fee03a3ad0.tar.bz2 openshift-3bcca52246ed7a4b1c64adcf231133fee03a3ad0.tar.xz openshift-3bcca52246ed7a4b1c64adcf231133fee03a3ad0.zip |
CF 4.6 templates
Diffstat (limited to 'roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-scc-sysadmin.yaml')
-rw-r--r-- | roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-scc-sysadmin.yaml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-scc-sysadmin.yaml b/roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-scc-sysadmin.yaml new file mode 100644 index 000000000..d2ece9298 --- /dev/null +++ b/roles/openshift_examples/files/examples/v3.7/cfme-templates/cfme-scc-sysadmin.yaml @@ -0,0 +1,38 @@ +allowHostDirVolumePlugin: false +allowHostIPC: false +allowHostNetwork: false +allowHostPID: false +allowHostPorts: false +allowPrivilegedContainer: false +allowedCapabilities: +apiVersion: v1 +defaultAddCapabilities: +- SYS_ADMIN +fsGroup: + type: RunAsAny +groups: +- system:cluster-admins +kind: SecurityContextConstraints +metadata: + annotations: + kubernetes.io/description: cfme-sysadmin provides all features of the anyuid SCC but allows users to have SYS_ADMIN capabilities. This is the required scc for Pods requiring to run with systemd and the message bus. + creationTimestamp: + name: cfme-sysadmin +priority: 10 +readOnlyRootFilesystem: false +requiredDropCapabilities: +- MKNOD +- SYS_CHROOT +runAsUser: + type: RunAsAny +seLinuxContext: + type: MustRunAs +supplementalGroups: + type: RunAsAny +users: +volumes: +- configMap +- downwardAPI +- emptyDir +- persistentVolumeClaim +- secret |