Skip to content

Commit

Permalink
add relay host environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio committed Dec 8, 2023
1 parent b04e99b commit bf07e52
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions k8s/helm/hcfmailerplus/templates/deployments-hcfmailerplus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,22 @@ spec:
secretKeyRef:
name: mysql
key: MYSQL_PASSWORD
{{ if .Values.app.RELAY_HOST }}
- name: RELAY_HOST
value: {{.Values.app.RELAY_HOST | quote}}
{{ end }}
{{ if .Values.app.RELAY_HOST_PORT }}
- name: RELAY_HOST_PORT
value: {{.Values.app.RELAY_HOST_PORT | quote}}
{{ end }}
{{ if .Values.app.RELAY_HOST_USER }}
- name: RELAY_HOST_USER
value: {{.Values.app.RELAY_HOST_USER | quote}}
{{ end }}
{{ if .Values.app.RELAY_HOST_PASSWORD }}
- name: RELAY_HOST_PASSWORD
value: {{.Values.app.RELAY_HOST_PASSWORD | quote}}
{{ end }}
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
{{if .Values.image.debug }}
command:
Expand Down

0 comments on commit bf07e52

Please sign in to comment.