Initial translation for Security Context.

Added the example files.

One small change to fix the broken deployment.
This commit is contained in:
Aris Cahyadi Risdianto
2020-05-12 21:09:27 +08:00
parent b31f2e3bfe
commit cd098561aa
6 changed files with 485 additions and 0 deletions
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: security-context-demo-2
spec:
securityContext:
runAsUser: 1000
containers:
- name: sec-ctx-demo-2
image: gcr.io/google-samples/node-hello:1.0
securityContext:
runAsUser: 2000
allowPrivilegeEscalation: false