Created
August 2, 2018 09:58
-
-
Save owainlewis/538c801f9212f3ee1a9b7f49ccdfb6e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: security-context-demo | |
spec: | |
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 | |
securityContext: | |
allowPrivilegeEscalation: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment