Skip to content

Commit

Permalink
fix: extraEnvVars support (#329)
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume <[email protected]>
  • Loading branch information
ggarson and Guillaume authored Mar 5, 2024
1 parent 9145726 commit 0321b71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/yourls/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
version: 5.8.13
version: 5.8.14
name: yourls
description: Your Own URL Shortener
appVersion: "1.9.2"
Expand Down
3 changes: 3 additions & 0 deletions charts/yourls/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ spec:
value: {{ .Values.containerPorts.http | quote }}
- name: APACHE_HTTPS_PORT_NUMBER
value: {{ .Values.containerPorts.https | quote }}
{{- if .Values.extraEnvVars }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
envFrom:
{{- if .Values.extraEnvVarsCM }}
- configMapRef:
Expand Down

0 comments on commit 0321b71

Please sign in to comment.