Fixed the command line
Fixed the command line which was causing an error.
This commit is contained in:
parent
630cc83014
commit
674f52b541
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue