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