forked from billimek/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunifi.yaml
86 lines (86 loc) · 1.99 KB
/
unifi.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
74
75
76
77
78
79
80
81
82
83
84
85
86
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: unifi
namespace: default
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: unifi
version: 5.1.2
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
image:
repository: jacobalberty/unifi
tag: v7.2.94
persistence:
data:
enabled: true
size: 20Gi
storageClass: rook-ceph-block
accessMode: ReadWriteOnce
env:
TZ: "America/New_York"
ingress:
main:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
hosts:
- host: "unifi.eviljungle.com"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "unifi.eviljungle.com"
service:
main:
type: LoadBalancer
annotations:
metallb.universe.tf/allow-shared-ip: unifi
loadBalancerIP: 10.0.6.55
externalTrafficPolicy: Local
ports:
stun:
enabled: false
syslog:
enabled: false
discovery:
enabled: false
udp:
enabled: true
type: LoadBalancer
annotations:
metallb.universe.tf/allow-shared-ip: unifi
loadBalancerIP: 10.0.6.55
externalTrafficPolicy: Local
ports:
stun:
enabled: true
port: 3478
protocol: UDP
syslog:
enabled: true
port: 5514
protocol: UDP
discovery:
enabled: true
port: 10001
protocol: UDP
podAnnotations:
backup.velero.io/backup-volumes: data
resources:
requests:
memory: 750Mi
cpu: 15m
limits:
memory: 1000Mi