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
+3 -2
View File
@@ -1,3 +1,4 @@
--- ---
--- ---
Many applications require configuration via some combination of config files, command line Many applications require configuration via some combination of config files, command line
@@ -362,7 +363,7 @@ spec:
containers: containers:
- name: test-container - name: test-container
image: gcr.io/google_containers/busybox image: gcr.io/google_containers/busybox
command: ["cat", "/etc/config/special.how" ] command: ["/bin/sh","-c", "cat", "/etc/config/special.how" ]
volumeMounts: volumeMounts:
- name: config-volume - name: config-volume
mountPath: /etc/config mountPath: /etc/config
@@ -390,7 +391,7 @@ spec:
containers: containers:
- name: test-container - name: test-container
image: gcr.io/google_containers/busybox 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: volumeMounts:
- name: config-volume - name: config-volume
mountPath: /etc/config mountPath: /etc/config