From b2cbd05c4ce7fc070535cc22d5549a31b7565cc7 Mon Sep 17 00:00:00 2001 From: NielDB <25815880+NielDB@users.noreply.github.com> Date: Sat, 17 Oct 2026 15:41:23 +0200 Subject: [PATCH] feat(helm) add envFrom and env (#2626) --- supplemental/helm/beszel-hub/templates/deployment.yaml | 9 +++++++++ supplemental/helm/beszel-hub/values.yaml | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/supplemental/helm/beszel-hub/templates/deployment.yaml b/supplemental/helm/beszel-hub/templates/deployment.yaml index 4117206f2..c60b7f846 100644 --- a/supplemental/helm/beszel-hub/templates/deployment.yaml +++ b/supplemental/helm/beszel-hub/templates/deployment.yaml @@ -50,6 +50,15 @@ spec: - name: http containerPort: {{ .Values.service.port }} protocol: TCP + envFrom: + {{- with .Values.envFrom }} + {{- toYaml . | nindent 12 }} + {{- end }} + env: + {{- range $key, $value := .Values.env }} + - name: {{ $key }} + value: {{ $value | quote }} + {{- end }} {{- with .Values.livenessProbe }} livenessProbe: {{- toYaml . | nindent 12 }} diff --git a/supplemental/helm/beszel-hub/values.yaml b/supplemental/helm/beszel-hub/values.yaml index 13d1970dc..2da06a1b0 100644 --- a/supplemental/helm/beszel-hub/values.yaml +++ b/supplemental/helm/beszel-hub/values.yaml @@ -116,6 +116,10 @@ autoscaling: # volumeMounts: {} +env: {} + +envFrom: [] + # -- `spec.PersitentVolumeClaim` configuration persistentVolumeClaim: # -- set to true to use pvc