⬆️ smtp-relay app-template v2

This commit is contained in:
auricom
2023-11-03 19:49:55 +01:00
parent a6038a9837
commit e42aac4372

View File

@@ -10,7 +10,7 @@ spec:
chart:
spec:
chart: app-template
version: 1.5.1
version: 2.0.3
sourceRef:
kind: HelmRepository
name: bjw-s
@@ -27,10 +27,13 @@ spec:
uninstall:
keepHistory: false
values:
controller:
controllers:
main:
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: ghcr.io/foxcpp/maddy
tag: 0.7.0
@@ -42,6 +45,12 @@ spec:
envFrom:
- secretRef:
name: smtp-relay-secret
resources:
requests:
cpu: 10m
memory: 10Mi
limits:
memory: 50Mi
service:
main:
type: LoadBalancer
@@ -67,25 +76,14 @@ spec:
enabled: true
type: configMap
name: smtp-relay-configmap
globalMounts:
- path: /data/maddy.conf
subPath: maddy.conf
mountPath: /data/maddy.conf
readOnly: true
data:
enabled: true
type: emptyDir
medium: Memory
sizeLimit: 1Gi
mountPath: /dev/shm
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 10m
memory: 10Mi
limits:
memory: 50Mi
globalMounts:
- path: /dev/shm