Skip to content

Commit

Permalink
Removed 'orb' namespacing from smtp template variables (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéfano authored Dec 1, 2021
1 parent 93ac087 commit c363141
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/orb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: orb
description: Orb Observability Platform
icon: https://avatars1.githubusercontent.com/u/13207490
type: application
version: 1.0.7
version: 1.0.8
appVersion: "0.9.0"
home: https://getorb.io
sources:
Expand Down
14 changes: 7 additions & 7 deletions charts/orb/templates/users-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,19 @@ spec:
name: {{ .Values.users.admin.secretName }}
key: {{ .Values.users.admin.passwordSecretKey }}

{{- if .Values.orb.smtp.host }}
{{- if .Values.smtp.host }}
- name: MF_EMAIL_HOST
value: {{ .Values.orb.smtp.host | quote }}
value: {{ .Values.smtp.host | quote }}
- name: MF_EMAIL_PORT
value: {{ .Values.orb.smtp.port | quote }}
value: {{ .Values.smtp.port | quote }}
- name: MF_EMAIL_USERNAME
value: {{ required "A valid .Values.orb.smtp.username is required!" .Values.orb.smtp.username | quote }}
value: {{ required "A valid .Values.smtp.username is required!" .Values.smtp.username | quote }}
- name: MF_EMAIL_PASSWORD
value: {{ required "A valid .Values.orb.smtp.password is required!" .Values.orb.smtp.password | quote }}
value: {{ required "A valid .Values.smtp.password is required!" .Values.smtp.password | quote }}
- name: MF_EMAIL_FROM_ADDRESS
value: {{ required "A valid .Values.orb.smtp.fromAddress is required!" .Values.orb.smtp.fromAddress | quote }}
value: {{ required "A valid .Values.smtp.fromAddress is required!" .Values.smtp.fromAddress | quote }}
- name: MF_EMAIL_FROM_NAME
value: {{ .Values.orb.smtp.fromName | quote }}
value: {{ .Values.smtp.fromName | quote }}
- name: MF_EMAIL_TEMPLATE
value: "/email.tmpl"
{{- end }}
Expand Down

0 comments on commit c363141

Please sign in to comment.