fix sidecar manifest (#44)
This commit is contained in:
parent
cad8e32ffe
commit
2febb7e513
|
@ -11,12 +11,12 @@ spec:
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx
|
image: nginx
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: shared-data
|
||||||
mountPath: /usr/share/nginx/html
|
mountPath: /usr/share/nginx/html
|
||||||
- name: debian
|
- name: debian
|
||||||
image: debian
|
image: debian
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: shared-data
|
||||||
mountPath: /pod-data
|
mountPath: /pod-data
|
||||||
command: ["/bin/sh"]
|
command: ["/bin/sh"]
|
||||||
args: ["-c", "echo Hello from the debian container > /pod-data/index.html"]
|
args: ["-c", "echo Hello from the debian container > /pod-data/index.html"]
|
||||||
|
|
Loading…
Reference in New Issue