Skip to content

Instantly share code, notes, and snippets.

@cberner
Created March 14, 2018 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cberner/d826a878d149e8364bf4a5a0ac8fb778 to your computer and use it in GitHub Desktop.
Save cberner/d826a878d149e8364bf4a5a0ac8fb778 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: security-context-demo-2
spec:
containers:
- name: sec-ctx-demo-2
image: gcr.io/google-samples/node-hello:1.0
securityContext:
runAsUser: 2000
allowPrivilegeEscalation: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment