mirror of https://github.com/coder/coder.git
feat: add `coder.volumes` parameter to Helm chart (#5551)
Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
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 }}
|
||||
|
||||
{{/*
|
||||
|
|
|
@ -52,7 +52,24 @@ coder:
|
|||
# - CODER_TLS_KEY_FILE: set if tls.secretName is not empty.
|
||||
# - CODER_PROMETHEUS_ADDRESS: set to 0.0.0.0:6060 and cannot be changed.
|
||||
# Prometheus must still be enabled by setting CODER_PROMETHEUS_ENABLE.
|
||||
# - KUBE_POD_IP
|
||||
# - CODER_DERP_SERVER_RELAY_URL
|
||||
#
|
||||
# We will additionally set CODER_ACCESS_URL if unset to the cluster service
|
||||
# URL.
|
||||
env: []
|
||||
# - name: "CODER_ACCESS_URL"
|
||||
# value: "https://coder.example.com"
|
||||
|
||||
# coder.volumes -- A list of extra volumes to add to the Coder pod.
|
||||
volumes: []
|
||||
# - name: "my-volume"
|
||||
# emptyDir: {}
|
||||
|
||||
# coder.volumeMounts -- A list of extra volume mounts to add to the Coder pod.
|
||||
volumeMounts: []
|
||||
# - name: "my-volume"
|
||||
# mountPath: "/mnt/my-volume"
|
||||
|
||||
# coder.tls -- The TLS configuration for Coder.
|
||||
tls:
|
||||
|
|
Loading…
Reference in New Issue