Fixed the command line

Fixed the command line which was causing an error.
This commit is contained in:
Naveen 2016-07-31 09:07:51 -04:00 committed by GitHub
parent 630cc83014
commit 674f52b541
1 changed files with 3 additions and 2 deletions

View File

@ -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