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:
|
secret:
|
||||||
secretName: {{ $secret.name | quote }}
|
secretName: {{ $secret.name | quote }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
{{ if gt (len .Values.coder.volumes) 0 -}}
|
||||||
|
{{ toYaml .Values.coder.volumes }}
|
||||||
|
{{ end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
@@ -124,6 +127,9 @@ Coder volume mounts.
|
|||||||
subPath: {{ $secret.key | quote }}
|
subPath: {{ $secret.key | quote }}
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
{{ if gt (len .Values.coder.volumeMounts) 0 -}}
|
||||||
|
{{ toYaml .Values.coder.volumeMounts }}
|
||||||
|
{{ end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
|
|||||||
@@ -52,7 +52,24 @@ coder:
|
|||||||
# - CODER_TLS_KEY_FILE: set if tls.secretName is not empty.
|
# - 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.
|
# - CODER_PROMETHEUS_ADDRESS: set to 0.0.0.0:6060 and cannot be changed.
|
||||||
# Prometheus must still be enabled by setting CODER_PROMETHEUS_ENABLE.
|
# 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: []
|
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.
|
# coder.tls -- The TLS configuration for Coder.
|
||||||
tls:
|
tls:
|
||||||
|
|||||||
Reference in New Issue
Block a user