generated from onedr0p/cluster-template
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
helm-release.yaml
64 lines (64 loc) · 1.53 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
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: unifi-poller
namespace: monitoring
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 1.5.1
sourceRef:
kind: HelmRepository
name: bjw-s-charts
namespace: flux-system
maxHistory: 2
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
image:
repository: ghcr.io/unpoller/unpoller
tag: v2.11.2
env:
TZ: "${TZ}"
UP_UNIFI_DEFAULT_ROLE: "bloopnet-controller"
UP_UNIFI_DEFAULT_URL: "https://${LOCAL_GATEWAY_BIG_BLOOP}"
UP_UNIFI_DEFAULT_VERIFY_SSL: false
UP_UNIFI_DEFAULT_USER: "unifipoller"
UP_UNIFI_DEFAULT_PASS: "${UNIFI_POLLER_PASS}"
UP_UNIFI_DEFAULT_SAVE_SITES: true
UP_UNIFI_DEFAULT_SAVE_EVENTS: true
UP_UNIFI_DEFAULT_SAVE_ALARMS: false
UP_UNIFI_DEFAULT_SAVE_DPI: true
UP_INFLUXDB_DISABLE: true
UP_PROMETHEUS_DISABLE: false
UP_LOKI_URL: "http://loki-gateway.monitoring.svc.cluster.local"
service:
main:
ports:
http:
port: 9130
serviceMonitor:
main:
enabled: true
endpoints:
- port: http
scheme: http
path: /metrics
interval: 2m # Unifi API only polls at 2m intervals
scrapeTimeout: 5s
resources:
requests:
cpu: 10m
memory: 100Mi
limits:
memory: 500Mi