Skip to content

feat: add envFrom value to Helm chart #9587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: add envFrom value to Helm chart
  • Loading branch information
ericpaulsen committed Sep 7, 2023
commit 797c08dffd877d24208f8148d22cb229ad24f29e
4 changes: 4 additions & 0 deletions helm/coder/templates/_coder.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ args:
{{- end }}
- server
{{- end }}
envFrom:
{{- with .Values.coder.envFrom }}
{{ toYaml . }}
{{- end }}
env:
- name: CODER_HTTP_ADDRESS
value: "0.0.0.0:8080"
Expand Down
8 changes: 6 additions & 2 deletions helm/coder/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ coder:
# - name: "CODER_ACCESS_URL"
# value: "https://coder.example.com"

envFrom:
- secretRef:
name: ""

# coder.image -- The image to use for Coder.
image:
# coder.image.repo -- The repository of the image.
Expand All @@ -29,13 +33,13 @@ coder:
# if not set. If you're using the chart directly from git, the default
# app version will not work and you'll need to set this value. The helm
# chart helpfully fails quickly in this case.
tag: ""
tag: "v2.1.5"
# coder.image.pullPolicy -- The pull policy to use for the image. See:
# https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
pullPolicy: IfNotPresent
# coder.image.pullSecrets -- The secrets used for pulling the Coder image from
# a private registry.
pullSecrets: []
pullSecrets:
# - name: "pull-secret"

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