mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add coder.volumes parameter to Helm chart (#5551)
Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
co-authored by
Dean Sheather
parent
66fa2a1a8c
commit
dcf6c20132
@@ -95,6 +95,9 @@ Coder volume definitions.
|
||||
secret:
|
||||
secretName: {{ $secret.name | quote }}
|
||||
{{ end -}}
|
||||
{{ if gt (len .Values.coder.volumes) 0 -}}
|
||||
{{ toYaml .Values.coder.volumes }}
|
||||
{{ end -}}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
@@ -124,6 +127,9 @@ Coder volume mounts.
|
||||
subPath: {{ $secret.key | quote }}
|
||||
readOnly: true
|
||||
{{ end -}}
|
||||
{{ if gt (len .Values.coder.volumeMounts) 0 -}}
|
||||
{{ toYaml .Values.coder.volumeMounts }}
|
||||
{{ end -}}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
|
||||
Reference in New Issue
Block a user