Skip to content

Commit

Permalink
Add ability to add extra env vars to citylens-web deployment (#455)
Browse files Browse the repository at this point in the history
* Add ability to add extra env vars to citylens-web deployment

* Fix missing end tag
  • Loading branch information
PeterBeklemishev authored Jun 21, 2024
1 parent 9f6b749 commit 8d6c3ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/citylens/templates/web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ spec:
- name: SSL_CERT_DIR
value: {{ include "citylens.customCA.mountPath" $ }}
{{- end }}
{{- if .Values.web.extraEnvVars }}
{{- range $env_name, $env_value := .Values.web.extraEnvVars }}
- name: {{ $env_name }}
value: {{ $env_value | squote }}
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.web.resources | nindent 12 }}
volumeMounts:
Expand Down

0 comments on commit 8d6c3ff

Please sign in to comment.