fix sidecar manifest

This commit is contained in:
Thomas Paulmyer 2019-05-23 11:04:04 +02:00
parent cad8e32ffe
commit 9825cbbecf
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"]