Skip to content

Commit 2ae33e8

Browse files
authored
Merge pull request #5 from rocket-admin/secret-syntax-2
try to fix secret syntax, test with enabled email
2 parents 0e4c5e4 + 124a443 commit 2ae33e8

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

charts/rocketadmin/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: rocketadmin
33
description: Rocketadmin is a web-based application for creating admin panels for your projects.
44
type: application
5-
6-
version: 0.1.13
5+
icon: https://avatars.githubusercontent.com/u/84132223
6+
version: 0.1.14
77
home: https://rocketadmin.com
88
sources:
99
- https://github.com/rocket-admin/rocketadmin
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
auth:
2+
password: "password"
3+
email:
4+
enabled: true
5+
host: smtp.example.com
6+
password: "password"
7+
port: 587
8+
username: user

charts/rocketadmin/templates/secret.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ stringData:
1212
JWT_SECRET: {{ include "chrt-6456.password" .}}
1313
PRIVATE_KEY: {{ include "chrt-6456.password" .}}
1414
DATABASE_URL: postgresql://rocketadmin:{{.Values.auth.password}}@{{ include "rocketadmin.postgresql.fullname" . }}/rocketadmin
15-
{{- if .Values.email.enabled }}
16-
EMAIL_CONFIG_STRING: smtp://{{.Values.email.username}}:{{.Values.email.password}}@{{.Values.email.host}}:{{.Values.email.port}}
17-
{{- end }}
15+
{{- if .Values.email.enabled }}
16+
EMAIL_CONFIG_STRING: "smtp://{{.Values.email.username}}:{{.Values.email.password}}@{{.Values.email.host}}:{{.Values.email.port}}"
17+
{{- end }}

0 commit comments

Comments
 (0)