File tree Expand file tree Collapse file tree 9 files changed +41
-41
lines changed Expand file tree Collapse file tree 9 files changed +41
-41
lines changed Original file line number Diff line number Diff line change 18
18
{{- include "exivity.labels" $ | indent 8 }}
19
19
annotations :
20
20
checksum/{{- include "exivity.fullname" $ -}}-config-pigeon : {{ include (print $.Template.BasePath "/pigeon/configmap.yaml") . | sha256sum }}
21
- checksum/{{- include "exivity.fullname" $ -}}-smtp-secret : {{ include (print $.Template.BasePath "/smtp-secret.yaml") . | sha256sum }}
21
+ checksum/{{- include "exivity.fullname" $ -}}-smtp-secret : {{ include (print $.Template.BasePath "/smtp/smtp -secret.yaml") . | sha256sum }}
22
22
spec :
23
23
securityContext :
24
24
{{- include "exivity.securityContext" (dict "root" . "component" "pigeon") | indent 8 }}
Original file line number Diff line number Diff line change 23
23
checksum/{{- include "exivity.fullname" $ -}}-lock : {{ include (print $.Template.BasePath "/proximity/api.configmap.yaml") . | sha256sum }}
24
24
checksum/{{- include "exivity.fullname" $ -}}-proximity-api-env : {{ include (print $.Template.BasePath "/proximity/api.env.yaml") . | sha256sum }}
25
25
checksum/{{- include "exivity.fullname" $ -}}-secret : {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
26
- checksum/{{- include "exivity.fullname" $ -}}-config-smtp : {{ include (print $.Template.BasePath "/smtp-configmap.yaml") . | sha256sum }}
27
- checksum/{{- include "exivity.fullname" $ -}}-smtp-secret : {{ include (print $.Template.BasePath "/smtp-secret.yaml") . | sha256sum }}
26
+ checksum/{{- include "exivity.fullname" $ -}}-config-smtp : {{ include (print $.Template.BasePath "/smtp/smtp -configmap.yaml") . | sha256sum }}
27
+ checksum/{{- include "exivity.fullname" $ -}}-smtp-secret : {{ include (print $.Template.BasePath "/smtp/smtp -secret.yaml") . | sha256sum }}
28
28
spec :
29
29
securityContext :
30
30
{{- include "exivity.securityContext" (dict "root" . "component" "proximityApi") | indent 8 }}
@@ -153,4 +153,4 @@ spec:
153
153
{{ range $key, $val := . }}
154
154
{{ $key }}: {{ $val }}
155
155
{{- end }}
156
- {{- end }}
156
+ {{- end }}
Original file line number Diff line number Diff line change 73
73
- configMapRef :
74
74
name : {{ include "exivity.fullname" $ -}}-proximity-cli-env
75
75
- configMapRef :
76
- name : {{ include "exivity.fullname" $ -}}-config-logfile
76
+ name : {{ include "exivity.fullname" $ -}}-config-logfiles
77
77
- secretRef :
78
78
name : {{ include "exivity.fullname" $ -}}-app-key
79
79
- secretRef :
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : ConfigMap
3
+ metadata :
4
+ name : {{ include "exivity.fullname" $ }}-config-smtp
5
+ labels :
6
+ {{- include "exivity.labels" $ | indent 4 }}
7
+ data :
8
+ EXIVITY_MAIL_DRIVER : {{ .Values.smtp.mail.driver | quote }}
9
+ EXIVITY_MAIL_HOST : {{ .Values.smtp.mail.host | quote }}
10
+ EXIVITY_MAIL_PORT : {{ .Values.smtp.mail.port | quote }}
11
+ EXIVITY_MAIL_FROM_ADDRESS : {{ .Values.smtp.mail.fromAddress | quote }}
12
+ EXIVITY_MAIL_FROM_NAME : {{ .Values.smtp.mail.fromName | quote }}
13
+ EXIVITY_MAIL_ENCRYPTION : {{ .Values.smtp.mail.encryption | quote }}
14
+ EXIVITY_MAIL_SMTP_VERIFY_PEER : {{ .Values.smtp.mail.smtpVerifyPeer | quote }}
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Secret
3
+ metadata :
4
+ name : {{ include "exivity.fullname" $ -}}-smtp-secret
5
+ labels :
6
+ {{- include "exivity.labels" $ | indent 4 }}
7
+ data :
8
+ EXIVITY_MAIL_USERNAME : {{ .Values.smtp.mail.username | required ".Values.smtp.mail.username is required" | b64enc }}
9
+ EXIVITY_MAIL_PASSWORD : {{ .Values.smtp.mail.password | required ".Values.smtp.mail.password is required" | b64enc }}
Original file line number Diff line number Diff line change 10
10
" secret" ,
11
11
" ingress" ,
12
12
" storage" ,
13
- " smtpConfig " ,
13
+ " smtp " ,
14
14
" logfiles" ,
15
15
" postgresql" ,
16
16
" rabbitmq" ,
184
184
}
185
185
]
186
186
},
187
- "smtpConfig " : {
187
+ "smtp " : {
188
188
"type" : " object" ,
189
189
"properties" : {
190
190
"mail" : {
191
191
"type" : " object" ,
192
192
"properties" : {
193
193
"driver" : { "type" : " string" },
194
194
"host" : { "type" : " string" },
195
- "port" : { "type" : " integer " },
195
+ "port" : { "type" : " string " },
196
196
"encryption" : { "type" : " string" },
197
197
"smtpVerifyPeer" : { "type" : " boolean" },
198
198
"fromAddress" : { "type" : " string" },
3064
3064
"helmResourcePolicyKeep" : true ,
3065
3065
"sharedVolumeAccessMode" : " ReadWriteMany"
3066
3066
},
3067
- "smtpConfig " : {
3067
+ "smtp " : {
3068
3068
"mail" : {
3069
3069
"driver" : " " ,
3070
3070
"host" : " " ,
3071
- "port" : 0 ,
3071
+ "port" : " " ,
3072
3072
"encryption" : " " ,
3073
3073
"smtpVerifyPeer" : false ,
3074
3074
"fromAddress" : " " ,
Original file line number Diff line number Diff line change @@ -78,17 +78,17 @@ storage:
78
78
import : 1Gi
79
79
report : 1Gi
80
80
81
- smtpConfig :
81
+ smtp :
82
82
mail :
83
83
driver : " smtp" # Mail driver to use (e.g. smtp)
84
- host : " smtp.example.com " # SMTP server hostname
85
- port : 587 # SMTP server port
86
- encryption : " tls " # Encryption type (tls/ssl/none)
84
+ host : " " # SMTP server hostname
85
+ port : " 1025 " # SMTP server port
86
+ encryption : " " # Encryption type (tls/ssl/none)
87
87
smtpVerifyPeer : true # Verify SMTP peer (true/false), only connect if the server’s certificate is valid and trusted.
88
- fromAddress :
" [email protected] " # Sender email address
89
- fromName : " Exivity " # Sender name
90
- username : " user " # SMTP username
91
- password : " pass " # SMTP password
88
+ fromAddress :
" " # Sender email address eg: [email protected]
89
+ fromName : " " # Sender name eg: Exivity
90
+ username : " exivity " # SMTP username
91
+ password : " Exivity123! " # SMTP password
92
92
93
93
logfiles :
94
94
deleteDays : 365 # EXIVITY_LOGFILES_DELETE_DAYS: Delete logfiles after N days
You can’t perform that action at this time.
0 commit comments