fixed indentation, cleaner command

This commit is contained in:
Nicolai von Neudeck
2016-11-29 00:43:01 +01:00
committed by GitHub
parent c61aee3c54
commit fd0d4112b0
+11 -12
View File
@@ -101,17 +101,16 @@ Capabilities are added/dropped in the [`SecurityContext`](http://kubernetes.io/d
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hello-world name: hello-world
spec: spec:
containers: containers:
- name: friendly-container - name: friendly-container
image: "alpine:3.4" image: "alpine:3.4"
command: command: ["/bin/echo", "hello", "world"]
- echo "hello" securityContext:
securityContext: capabilities:
capabilities: add:
add: - SYS_NICE
- SYS_NICE drop:
drop: - KILL
- KILL
``` ```