CMD syntax is invalid

Argument to 'cat' command was lost.  Merged 'cat' and args for exec command syntax.
This commit is contained in:
Ronald Petty
2016-07-13 20:58:42 -07:00
committed by GitHub
parent 4c51bb9baf
commit dfa61ed831
+2 -2
View File
@@ -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