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: []