Allow emptyDir type volume mounts (#6803)
This commit is contained in:
parent
efc6edf536
commit
4ff509d8db
@ -177,9 +177,12 @@ spec:
|
|||||||
{{- if .existingClaim }}
|
{{- if .existingClaim }}
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .existingClaim }}
|
claimName: {{ .existingClaim }}
|
||||||
{{- else }}
|
{{- else if .hostPath }}
|
||||||
hostPath:
|
hostPath:
|
||||||
path: {{ .hostPath }}
|
path: {{ .hostPath }}
|
||||||
type: Directory
|
type: Directory
|
||||||
|
{{- else }}
|
||||||
|
emptyDir:
|
||||||
|
{{- toYaml .emptyDir | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -190,6 +190,7 @@ extraVolumeMounts: []
|
|||||||
# readOnly: true
|
# readOnly: true
|
||||||
# existingClaim: volume-claim
|
# existingClaim: volume-claim
|
||||||
# hostPath: ""
|
# hostPath: ""
|
||||||
|
# emptyDir: {}
|
||||||
|
|
||||||
extraConfigmapMounts: []
|
extraConfigmapMounts: []
|
||||||
# - name: certs-configmap
|
# - name: certs-configmap
|
||||||
|
Reference in New Issue
Block a user