Skip to content

Commit

Permalink
Prevented e-mail template from being rendered by Helm (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéfano authored Dec 8, 2021
1 parent 73749ae commit c3ff49e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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.9
version: 1.0.10
appVersion: "0.9.0"
home: https://getorb.io
sources:
Expand Down
8 changes: 8 additions & 0 deletions charts/orb/files/email.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
To: {{index .To 0}}
From: {{.From}}
Subject: {{.Subject}}
{{.Header}}
You have initiated password reset.
Follow the link below to reset password.
{{.Content}}
{{.Footer}}
10 changes: 1 addition & 9 deletions charts/orb/templates/users-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@ kind: ConfigMap
metadata:
name: {{ .Release.Name }}-users-config
data:
email.tmpl: |
To: {{.To}}
From: {{.From}}
Subject: {{.Subject}}
{{.Header}}
You have initiated password reset.
Follow the link below to reset password.
{{.Content}}
{{.Footer}}
email.tmpl: {{ .Files.Get "files/email.tmpl" | quote}}
---
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit c3ff49e

Please sign in to comment.