Skip to content

Commit 3f3aa6c

Browse files
authored
Merge pull request #206 from djjudas21/smtp-0.11.0
Update to smtp-relay v0.11.0
2 parents 72f9456 + 013e92f commit 3f3aa6c

File tree

6 files changed

+40
-6
lines changed

6 files changed

+40
-6
lines changed

charts/smtp-relay/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: smtp-relay
33
description: An SMTP smarthost relay for Kubernetes
44
type: application
5-
version: 0.6.2
6-
appVersion: "0.10.0"
5+
version: 0.7.0
6+
appVersion: "0.11.0"
77
home: https://github.com/djjudas21/charts/tree/main/charts/smtp-relay
88
keywords:
99
- smtp
@@ -19,4 +19,4 @@ sources:
1919
annotations:
2020
artifacthub.io/changes: |-
2121
- kind: changed
22-
description: Secrets management
22+
description: Update to smtp-relay v0.11.0

charts/smtp-relay/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# smtp-relay
22

3-
![Version: 0.6.2](https://img.shields.io/badge/Version-0.6.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.10.0](https://img.shields.io/badge/AppVersion-0.10.0-informational?style=flat-square)
3+
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.11.0](https://img.shields.io/badge/AppVersion-0.11.0-informational?style=flat-square)
44

55
An SMTP smarthost relay for Kubernetes
66

@@ -51,11 +51,13 @@ An SMTP smarthost relay for Kubernetes
5151
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
5252
| serviceAccount.name | string | a name is generated using the fullname template | The name of the service account to use. |
5353
| smtp.host | string | `""` | Hostname of upstream SMTP server |
54+
| smtp.message_size_limit | string | `"10240000"` | Size limit of messages |
5455
| smtp.myhostname | string | `""` | Hostname of THIS relay SMTP server |
5556
| smtp.mynetworks | list | `["127.0.0.0/8","10.0.0.0/8"]` | Networks to permit relaying from |
5657
| smtp.password | string | `""` | Password for upstream SMTP server |
57-
| smtp.tls_security_level | string | `""` | |
58-
| smtp.tls_wrappermode | string | `"no"` | |
58+
| smtp.tls_security_level | string | `""` | Default SMTP TLS security level for the Postfix SMTP client |
59+
| smtp.tls_wrappermode | string | `"no"` | Connect using SUBMISSIONS/SMTPS protocol instead of STARTTLS |
60+
| smtp.use_tls | string | `"yes"` | Enable TLS connection to upstream SMTP server |
5961
| smtp.username | string | `""` | Username for upstream SMTP server |
6062
| tolerations | list | `[]` | |
6163

charts/smtp-relay/templates/configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ data:
1111
smtp-relay-mynetworks: {{ join "," .Values.smtp.mynetworks }}
1212
smtp-relay-tls-wrappermode: {{ .Values.smtp.tls_wrappermode | quote }}
1313
smtp-relay-tls-security-level: {{ .Values.smtp.tls_security_level | quote }}
14+
smtp-use-tls: {{ .Values.smtp.use_tls | quote }}
15+
smtp-message-size-limit: {{ .Values.smtp.message_size_limit | quote }}

charts/smtp-relay/templates/statefulset.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ spec:
8080
configMapKeyRef:
8181
name: {{ include "smtp-relay.fullname" . }}
8282
key: smtp-relay-tls-security-level
83+
- name: SMTP_USE_TLS
84+
valueFrom:
85+
configMapKeyRef:
86+
name: {{ include "smtp-relay.fullname" . }}
87+
key: smtp-use-tls
88+
- name: SMTP_MESSAGE_SIZE_LIMIT
89+
valueFrom:
90+
configMapKeyRef:
91+
name: {{ include "smtp-relay.fullname" . }}
92+
key: smtp-message-size-limit
8393
- name: SMTP_RELAY_PASSWORD
8494
valueFrom:
8595
secretKeyRef:

charts/smtp-relay/values.schema.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,12 @@
313313
"title": "host",
314314
"type": "string"
315315
},
316+
"message_size_limit": {
317+
"default": "10240000",
318+
"description": "Size limit of messages",
319+
"title": "message_size_limit",
320+
"type": "string"
321+
},
316322
"myhostname": {
317323
"default": "",
318324
"description": "Hostname of THIS relay SMTP server",
@@ -343,14 +349,22 @@
343349
},
344350
"tls_security_level": {
345351
"default": "",
352+
"description": "Default SMTP TLS security level for the Postfix SMTP client",
346353
"title": "tls_security_level",
347354
"type": "string"
348355
},
349356
"tls_wrappermode": {
350357
"default": "no",
358+
"description": "Connect using SUBMISSIONS/SMTPS protocol instead of STARTTLS",
351359
"title": "tls_wrappermode",
352360
"type": "string"
353361
},
362+
"use_tls": {
363+
"default": "yes",
364+
"description": "Enable TLS connection to upstream SMTP server",
365+
"title": "use_tls",
366+
"type": "string"
367+
},
354368
"username": {
355369
"default": "",
356370
"description": "Username for upstream SMTP server",

charts/smtp-relay/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@ smtp:
1717
mynetworks:
1818
- 127.0.0.0/8
1919
- 10.0.0.0/8
20+
# -- Enable TLS connection to upstream SMTP server
21+
use_tls: "yes"
22+
# -- Connect using SUBMISSIONS/SMTPS protocol instead of STARTTLS
2023
tls_wrappermode: "no"
24+
# -- Default SMTP TLS security level for the Postfix SMTP client
2125
tls_security_level: ""
26+
# -- Size limit of messages
27+
message_size_limit: "10240000"
2228

2329
image:
2430
# -- image repository

0 commit comments

Comments
 (0)