diff --git a/kubernetes/apps/default/smtp-relay/app/helmrelease.yaml b/kubernetes/apps/default/smtp-relay/app/helmrelease.yaml index 070c12032..3c518ba23 100644 --- a/kubernetes/apps/default/smtp-relay/app/helmrelease.yaml +++ b/kubernetes/apps/default/smtp-relay/app/helmrelease.yaml @@ -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,21 +27,30 @@ spec: uninstall: keepHistory: false values: - controller: - strategy: RollingUpdate - annotations: - reloader.stakater.com/auto: "true" - image: - repository: ghcr.io/foxcpp/maddy - tag: 0.7.0 - env: - DEBUG: "true" - SMTP_DOMAIN: "${SECRET_DOMAIN}" - SMTP_SERVER: "smtp.fastmail.com" - SMTP_PORT: "465" - envFrom: - - secretRef: - name: smtp-relay-secret + controllers: + main: + strategy: RollingUpdate + annotations: + reloader.stakater.com/auto: "true" + containers: + main: + image: + repository: ghcr.io/foxcpp/maddy + tag: 0.7.0 + env: + DEBUG: "true" + SMTP_DOMAIN: "${SECRET_DOMAIN}" + SMTP_SERVER: "smtp.fastmail.com" + SMTP_PORT: "465" + 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 - subPath: maddy.conf - mountPath: /data/maddy.conf - readOnly: true + globalMounts: + - path: /data/maddy.conf + subPath: 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