From 674f52b54149e6066dd603ec2ba6fb179c62ebb5 Mon Sep 17 00:00:00 2001 From: Naveen Date: Sun, 31 Jul 2016 09:07:51 -0400 Subject: [PATCH] Fixed the command line Fixed the command line which was causing an error. --- docs/user-guide/configmap/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/configmap/index.md b/docs/user-guide/configmap/index.md index ccd3b74ebb..110dfd7c97 100644 --- a/docs/user-guide/configmap/index.md +++ b/docs/user-guide/configmap/index.md @@ -1,3 +1,4 @@ + --- --- Many applications require configuration via some combination of config files, command line @@ -362,7 +363,7 @@ spec: containers: - name: test-container image: gcr.io/google_containers/busybox - command: ["cat", "/etc/config/special.how" ] + command: ["/bin/sh","-c", "cat", "/etc/config/special.how" ] volumeMounts: - name: config-volume mountPath: /etc/config @@ -390,7 +391,7 @@ spec: containers: - name: test-container image: gcr.io/google_containers/busybox - command: [ "/bin/sh", "cat", "/etc/config/path/to/special-key" ] + command: [ "/bin/sh", "-c", "cat", "/etc/config/path/to/special-key" ] volumeMounts: - name: config-volume mountPath: /etc/config