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:
|
||||
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
|
||||
|
Reference in New Issue
Block a user