OSH-Infra: Add emptydirs for tmp

This PS adds emptydirs backing the /tmp directory in pods, which
is required in most cases for full operation when using a read only
filesystem backing the container.

Additionally some yaml indent issues are resolved.

Change-Id: I8b7f1614da059783254aa6efc09facf23fca3cad
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley
2019-04-20 07:58:42 -05:00
committed by Pete Birley
parent 5e1ecd9840
commit 2abf62ff4d
120 changed files with 796 additions and 251 deletions

View File

@@ -159,9 +159,13 @@ spec:
{{- end }}
- "-grace-period=10"
volumeMounts:
- name: pod-tmp
mountPath: /tmp
- name: export-volume
mountPath: /export
volumes:
- name: pod-tmp
emptyDir: {}
- name: export-volume
{{- if eq .Values.storage.type "persistentVolumeClaim" }}
persistentVolumeClaim: