-
Notifications
You must be signed in to change notification settings - Fork 4
/
helm-release.yaml
73 lines (71 loc) · 1.81 KB
/
helm-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: smtp-relay
namespace: default
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 2.6.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
createNamespace: true
remediation:
retries: 3
timeout: 5m
upgrade:
remediation:
retries: 3
cleanupOnFail: true
values:
controllers:
main:
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: registry.skysolutions.fi/docker.io/boky/postfix
tag: latest
env:
RELAYHOST: smtp.dnainternet.fi
ALLOWED_SENDER_DOMAINS: skylab.fi,pbx.samipsolutions.fi,samipsolutions.fi
POSTFIX_myhostname: mailer.k8s.skylab.fi
POSTFIX_mynetworks: 10.244.0.0/16 [fddf:f7bc:9670::]/48 192.168.2.0/24 [2001:14ba:16fd:9600::]/56 10.0.105.0/24 10.0.50.0/24
POSTFIX_inet_protocols: all
resources:
requests:
cpu: 15m
memory: 64M
limits:
cpu: 15m
memory: 64M
probes:
liveness:
enabled: false
startup:
enabled: false
readiness:
enabled: false
service:
main:
type: LoadBalancer
annotations:
io.cilium/lb-ipam-ips: 10.96.69.207,fded:687e:c3bf::6ed
ipFamilyPolicy: RequireDualStack
ports:
http:
port: 587
persistence:
spool:
enabled: true
type: emptyDir
globalMounts:
- path: /var/spool/postfix