From bd5c9203733ee5f4d80d87fdf73e807e5a6dbc5f Mon Sep 17 00:00:00 2001 From: Gene Liu Date: Sun, 14 Jun 2026 15:48:17 -0400 Subject: [PATCH] chore(helm): add extra env to deployment (#1661) Co-authored-by: James Ward --- deploy/helm/grimmory/templates/deployment.yaml | 3 +++ deploy/helm/grimmory/values.yaml | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/deploy/helm/grimmory/templates/deployment.yaml b/deploy/helm/grimmory/templates/deployment.yaml index 71af28e57..0982fa833 100644 --- a/deploy/helm/grimmory/templates/deployment.yaml +++ b/deploy/helm/grimmory/templates/deployment.yaml @@ -133,6 +133,9 @@ spec: {{- else }} value: {{ include "grimmory.dbName" . | quote }} {{- end }} + {{- with .Values.extraEnv }} + {{- toYaml . | nindent 12 }} + {{- end }} {{- with .Values.livenessProbe }} livenessProbe: {{- toYaml . | nindent 12 }} diff --git a/deploy/helm/grimmory/values.yaml b/deploy/helm/grimmory/values.yaml index 82f3acd29..8c36eb442 100644 --- a/deploy/helm/grimmory/values.yaml +++ b/deploy/helm/grimmory/values.yaml @@ -153,6 +153,16 @@ persistence: enabled: true size: 10Gi existingClaim: "" +# Additional environment variables for the application container. +# Example: +# extraEnv: +# - name: USER_ID +# value: "1000" +# - name: GROUP_ID +# value: "1000" +# - name: APP_USER +# value: "booklore" +extraEnv: [] extraVolumes: [] extraVolumeMounts: []