Skip to content

Commit 672e7be

Browse files
committed
[MOD] smtp4dev to 3.6.1 version and [ADD] extraEnv
1 parent 08adb4b commit 672e7be

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: smtp4dev
33
description: A Helm chart for helm-smtp4dev
44
type: application
5-
version: 0.0.2
6-
appVersion: "3.1.4"
5+
version: 0.1.0
6+
appVersion: "3.6.1"
77
keywords:
88
- smtp4dev
99
- fake smtp email server

templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ spec:
3939
env:
4040
- name: ServerOptions__BasePath
4141
value: {{ .Values.smtp4dev.ServerOptions__BasePath | toString | quote }}
42+
- name: ServerOptions_Urls
43+
value: {{ .Values.smtp4dev.ServerOptions__Urls | toString | quote }}
4244
- name: ServerOptions__Hostname
4345
value: {{ .Values.smtp4dev.ServerOptions__Hostname | toString | quote }}
4446
- name: ServerOptions__LockSettings
@@ -67,6 +69,9 @@ spec:
6769
value: {{ .Values.smtp4dev.RelayOptions__Password | toString | quote }}
6870
- name: ServerOptions__ImapPort
6971
value: {{ .Values.smtp4dev.ServerOptions__ImapPort | toString | quote }}
72+
{{- if .Values.extraEnv }}
73+
{{- toYaml .Values.extraEnv | nindent 12 }}
74+
{{- end }}
7075
ports:
7176
- name: http
7277
containerPort: {{ .Values.service.port }}

values.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ image:
88
repository: rnwood/smtp4dev
99
pullPolicy: IfNotPresent
1010
# Overrides the image tag whose default is the chart appVersion.
11-
tag: "v3"
11+
tag: "3.6.1"
1212

1313
# smtp4dev configuration (env variables)
1414
smtp4dev:
1515
ServerOptions__BasePath: /smtp4dev
16+
ServerOptions_Urls: http://*:80
1617
ServerOptions__Hostname: smtp4dev
1718
ServerOptions__LockSettings: true
1819
ServerOptions__Database: database.db
@@ -132,3 +133,6 @@ nodeSelector: {}
132133
tolerations: []
133134

134135
affinity: {}
136+
137+
## Extra environment variables definition
138+
extraEnv: []

0 commit comments

Comments
 (0)