Consolidate SecurityContext topics. (#4005)

This commit is contained in:
Steve Perry
2017-06-21 18:12:44 -07:00
committed by GitHub
parent 0c6b381b7c
commit 9da5890274
9 changed files with 413 additions and 194 deletions
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: security-context-demo
spec:
securityContext:
runAsUser: 1000
fsGroup: 2000
volumes:
- name: sec-ctx-vol
emptyDir: {}
containers:
- name: sec-ctx-demo
image: gcr.io/google-samples/node-hello:1.0
volumeMounts:
- name: sec-ctx-vol
mountPath: /data/demo