Skip to content

Commit 797c08d

Browse files
committed
feat: add envFrom value to Helm chart
1 parent ed7f682 commit 797c08d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

helm/coder/templates/_coder.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ args:
3030
{{- end }}
3131
- server
3232
{{- end }}
33+
envFrom:
34+
{{- with .Values.coder.envFrom }}
35+
{{ toYaml . }}
36+
{{- end }}
3337
env:
3438
- name: CODER_HTTP_ADDRESS
3539
value: "0.0.0.0:8080"

helm/coder/values.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ coder:
2121
# - name: "CODER_ACCESS_URL"
2222
# value: "https://coder.example.com"
2323

24+
envFrom:
25+
- secretRef:
26+
name: ""
27+
2428
# coder.image -- The image to use for Coder.
2529
image:
2630
# coder.image.repo -- The repository of the image.
@@ -29,13 +33,13 @@ coder:
2933
# if not set. If you're using the chart directly from git, the default
3034
# app version will not work and you'll need to set this value. The helm
3135
# chart helpfully fails quickly in this case.
32-
tag: ""
36+
tag: "v2.1.5"
3337
# coder.image.pullPolicy -- The pull policy to use for the image. See:
3438
# https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
3539
pullPolicy: IfNotPresent
3640
# coder.image.pullSecrets -- The secrets used for pulling the Coder image from
3741
# a private registry.
38-
pullSecrets: []
42+
pullSecrets:
3943
# - name: "pull-secret"
4044

4145
# coder.initContainers -- Init containers for the deployment. See:

0 commit comments

Comments
 (0)