File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed
Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 8686 secretKeyRef :
8787 name : github-creds
8888 key : PrivateKey
89+ {{- if .Values.smtp.enabled }}
90+ - name : SMTP_HOST
91+ valueFrom :
92+ secretKeyRef :
93+ name : smtp-config
94+ key : SMTPHost
95+ - name : SMTP_PORT
96+ valueFrom :
97+ secretKeyRef :
98+ name : smtp-config
99+ key : SMTPPort
100+ - name : SMTP_USERNAME
101+ valueFrom :
102+ secretKeyRef :
103+ name : smtp-config
104+ key : SMTPUsername
105+ - name : SMTP_PASSWORD
106+ valueFrom :
107+ secretKeyRef :
108+ name : smtp-config
109+ key : SMTPPassword
110+ - name : SMTP_FROM_EMAIL
111+ valueFrom :
112+ secretKeyRef :
113+ name : smtp-config
114+ key : SMTPFromEmail
115+ - name : SMTP_FROM_NAME
116+ valueFrom :
117+ secretKeyRef :
118+ name : smtp-config
119+ key : SMTPFromName
120+ {{- end }}
89121 ports :
90122 - name : http
91123 containerPort : 8080
Original file line number Diff line number Diff line change 2525 ClientId : {{ .Values.github.clientId | b64enc | quote }}
2626 ClientSecret : {{ .Values.github.clientSecret | b64enc | quote }}
2727 PrivateKey : {{ .Values.github.privateKey | b64enc | quote }}
28+ ---
29+ {{- if .Values.smtp.enabled }}
30+ apiVersion : v1
31+ kind : Secret
32+ type : Opaque
33+ metadata :
34+ name : smtp-config
35+ data :
36+ SMTPHost : {{ .Values.smtp.host | b64enc | quote }}
37+ SMTPPort : {{ .Values.smtp.port | b64enc | quote }}
38+ SMTPUsername : {{ .Values.smtp.username | b64enc | quote }}
39+ SMTPPassword : {{ .Values.smtp.password | b64enc | quote }}
40+ SMTPFromEmail : {{ .Values.smtp.fromEmail | b64enc | quote }}
41+ SMTPFromName : {{ .Values.smtp.fromName | b64enc | quote }}
42+ {{- end }}
Original file line number Diff line number Diff line change @@ -15,3 +15,13 @@ github:
1515 clientId : " "
1616 clientSecret : " "
1717 privateKey : " "
18+
19+ # SMTP Configuration - Leave empty to disable email (invitations will print to console)
20+ smtp :
21+ enabled : false # Set to true to enable email sending
22+ host : " "
23+ port : " "
24+ username : " "
25+ password : " "
26+ fromEmail : " "
27+ fromName : " "
You can’t perform that action at this time.
0 commit comments