Skip to content

Commit

Permalink
Add support for extra env vars (#121)
Browse files Browse the repository at this point in the history
Signed-off-by: Luigi Di Fraia <[email protected]>
  • Loading branch information
luigidifraia authored Aug 19, 2021
1 parent 0da9c52 commit 0d67373
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ spec:
value: {{ .Values.logFormat }}
- name: NO_HISTOGRAM
value: {{ .Values.noHistogram | quote}}
{{- if .Values.extraEnv }}
{{ toYaml .Values.extraEnv | indent 8 }}
{{- end }}
{{- if .Values.security.enabled }}
- name: DRUID_USER
value: {{ .Values.security.druidUser }}
Expand Down
2 changes: 2 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ noHistogram: false

exporterPort: 8080

extraEnv: {}

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
Expand Down

0 comments on commit 0d67373

Please sign in to comment.