fix sidecar manifest (#44)

This commit is contained in:
Thomas Paulmyer 2019-05-23 11:13:32 +02:00 committed by Rémy-Christophe Schermesser
parent cad8e32ffe
commit 2febb7e513
1 changed files with 2 additions and 2 deletions

View File

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