-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
75 lines (75 loc) · 2.03 KB
/
Copy pathhelmrelease.yaml
File metadata and controls
75 lines (75 loc) · 2.03 KB
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
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: unpoller
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.7.3
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
unpoller:
containers:
app:
image:
repository: ghcr.io/unpoller/unpoller
tag: v2.14.1@sha256:9ba73b1793ef332ae9b4b719ef0fc09f231d6276bc7b721cbb47961ed7792961
env:
TZ: America/New_York
UP_UNIFI_DEFAULT_ROLE: home-ops
UP_UNIFI_DEFAULT_URL: https://unifi.parsec.sh
UP_UNIFI_DEFAULT_VERIFY_SSL: false
UP_UNIFI_DEFAULT_USER: unifipoller
UP_UNIFI_DEFAULT_PASS: 1nternalUseOnly
UP_INFLUXDB_DISABLE: true
probes:
liveness:
enabled: true
readiness:
enabled: true
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 10m
limits:
memory: 128Mi
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
runAsNonRoot: true
service:
app:
controller: unpoller
ports:
http:
port: 9130
serviceMonitor:
app:
serviceName: unpoller
endpoints:
- port: http
scheme: http
path: /metrics
interval: 2m # Unifi API only polls at 2m intervals
scrapeTimeout: 10s