mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00

| datasource | package | from | to | | ---------- | ------------ | ----- | ----- | | helm | app-template | 1.3.2 | 1.4.0 |
94 lines
2.1 KiB
YAML
94 lines
2.1 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helmrelease_v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app smtp-relay
|
|
namespace: default
|
|
spec:
|
|
interval: 15m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.4.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 3
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
controller:
|
|
replicas: 1
|
|
strategy: RollingUpdate
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
image:
|
|
repository: ghcr.io/foxcpp/maddy
|
|
tag: 0.6.3
|
|
env:
|
|
DEBUG: "true"
|
|
SMTP_DOMAIN: "${SECRET_DOMAIN}"
|
|
SMTP_SERVER: "smtp.fastmail.com"
|
|
SMTP_USERNAME: "${SECRET_EMAIL_SMTP_USERNAME}"
|
|
SMTP_PORT: "465"
|
|
envFrom:
|
|
- secretRef:
|
|
name: smtp-relay-secret
|
|
service:
|
|
main:
|
|
type: LoadBalancer
|
|
loadBalancerIP: "${CLUSTER_LB_SMTP_RELAY}"
|
|
externalTrafficPolicy: Local
|
|
ports:
|
|
http:
|
|
port: 2525
|
|
metrics:
|
|
enabled: true
|
|
port: 9749
|
|
serviceMonitor:
|
|
main:
|
|
enabled: true
|
|
endpoints:
|
|
- port: metrics
|
|
scheme: http
|
|
path: /metrics
|
|
interval: 1m
|
|
scrapeTimeout: 10s
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
type: configMap
|
|
name: smtp-relay-configmap
|
|
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
|