From dfa61ed831c5ff245f66f4144531e321fd9da10b Mon Sep 17 00:00:00 2001 From: Ronald Petty Date: Wed, 13 Jul 2016 20:58:42 -0700 Subject: [PATCH] CMD syntax is invalid Argument to 'cat' command was lost. Merged 'cat' and args for exec command syntax. --- docs/user-guide/configmap/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/configmap/index.md b/docs/user-guide/configmap/index.md index 17cc9c154b..9a26dc429d 100644 --- a/docs/user-guide/configmap/index.md +++ b/docs/user-guide/configmap/index.md @@ -362,7 +362,7 @@ spec: containers: - name: test-container image: gcr.io/google_containers/busybox - command: [ "/bin/sh", "cat", "/etc/config/special.how" ] + command: [ "/bin/sh", "cat /etc/config/special.how" ] volumeMounts: - name: config-volume mountPath: /etc/config @@ -390,7 +390,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", "cat /etc/config/path/to/special-key" ] volumeMounts: - name: config-volume mountPath: /etc/config