-
Notifications
You must be signed in to change notification settings - Fork 88
/
unifi.yaml
109 lines (104 loc) · 2.34 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: unifi
namespace: default
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 1.5.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
image:
repository: jacobalberty/unifi
tag: v8.6.9@sha256:b8eb551cc0aa61666357aab0078bba15fec557c81ba83284c2c9bfc217d6a529
env:
TZ: "America/New_York"
RUNAS_UID0: "false"
UNIFI_UID: "999"
UNIFI_GID: "999"
UNIFI_STDOUT: "true"
JVM_INIT_HEAP_SIZE:
JVM_MAX_HEAP_SIZE: 1024M
ingress:
main:
enabled: true
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
ingressClassName: nginx-tailscale
hosts:
- host: &host unifi.eviljungle.com
paths:
- path: /
tls:
- hosts:
- *host
service:
main:
type: LoadBalancer
annotations:
metallb.universe.tf/allow-shared-ip: unifi
loadBalancerIP: 10.0.6.57
externalTrafficPolicy: Local
ports:
http:
port: 8443
protocol: HTTPS
controller:
enabled: true
port: 8080
protocol: TCP
portal-http:
enabled: false
port: 8880
protocol: HTTP
portal-https:
enabled: false
port: 8843
protocol: HTTPS
speedtest:
enabled: true
port: 6789
protocol: TCP
stun:
enabled: true
port: 3478
protocol: UDP
syslog:
enabled: true
port: 5514
protocol: UDP
discovery:
enabled: true
port: 10001
protocol: UDP
persistence:
data:
enabled: true
size: 20Gi
storageClass: rook-ceph-block
accessMode: ReadWriteOnce
mountPath: /unifi
resources:
requests:
memory: 750Mi
cpu: 15m
limits:
memory: 1250Mi