mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
⬆️ smtp-relay app-template v2
This commit is contained in:
@@ -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,21 +27,30 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
controller:
|
controllers:
|
||||||
strategy: RollingUpdate
|
main:
|
||||||
annotations:
|
strategy: RollingUpdate
|
||||||
reloader.stakater.com/auto: "true"
|
annotations:
|
||||||
image:
|
reloader.stakater.com/auto: "true"
|
||||||
repository: ghcr.io/foxcpp/maddy
|
containers:
|
||||||
tag: 0.7.0
|
main:
|
||||||
env:
|
image:
|
||||||
DEBUG: "true"
|
repository: ghcr.io/foxcpp/maddy
|
||||||
SMTP_DOMAIN: "${SECRET_DOMAIN}"
|
tag: 0.7.0
|
||||||
SMTP_SERVER: "smtp.fastmail.com"
|
env:
|
||||||
SMTP_PORT: "465"
|
DEBUG: "true"
|
||||||
envFrom:
|
SMTP_DOMAIN: "${SECRET_DOMAIN}"
|
||||||
- secretRef:
|
SMTP_SERVER: "smtp.fastmail.com"
|
||||||
name: smtp-relay-secret
|
SMTP_PORT: "465"
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
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
|
||||||
subPath: maddy.conf
|
globalMounts:
|
||||||
mountPath: /data/maddy.conf
|
- path: /data/maddy.conf
|
||||||
readOnly: true
|
subPath: maddy.conf
|
||||||
|
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
|
|
||||||
|
Reference in New Issue
Block a user