From fd0d4112b05302af5ee8e8e30d9cfd4e6f986c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20von=C2=A0Neudeck?= Date: Tue, 29 Nov 2016 00:43:01 +0100 Subject: [PATCH] fixed indentation, cleaner command --- docs/user-guide/containers.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/docs/user-guide/containers.md b/docs/user-guide/containers.md index c985c94f02..7c39f30f09 100644 --- a/docs/user-guide/containers.md +++ b/docs/user-guide/containers.md @@ -101,17 +101,16 @@ Capabilities are added/dropped in the [`SecurityContext`](http://kubernetes.io/d apiVersion: v1 kind: Pod metadata: - name: hello-world + name: hello-world spec: - containers: - - name: friendly-container - image: "alpine:3.4" - command: - - echo "hello" - securityContext: - capabilities: - add: - - SYS_NICE - drop: - - KILL + containers: + - name: friendly-container + image: "alpine:3.4" + command: ["/bin/echo", "hello", "world"] + securityContext: + capabilities: + add: + - SYS_NICE + drop: + - KILL ```