Skip to content

Commit

Permalink
Configurable env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
clrxbl authored Dec 19, 2024
1 parent 7365b55 commit a5a6827
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/templates/deployment-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ spec:
value: {{ .Values.base.namespace }}
- name: JSON_LOGS_ENABLED
value: "true"
{{- with .Values.backend.env -}}
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: {{ include "hangar.fullname" . }}-backend-config-volume
mountPath: /hangar/config
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ backend:

envFrom: {}

env: {}

config:
postgresql:
hostname: "hangar-postgresql"
Expand Down

0 comments on commit a5a6827

Please sign in to comment.