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