mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
# values/unpoller.values.yaml
|
||||
# Unpoller configuration for Unifi metrics collection
|
||||
|
||||
# --- Service configuration ---
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 9130
|
||||
|
||||
# --- Metrics configuration ---
|
||||
metrics:
|
||||
enabled: true
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
interval: 30s
|
||||
additionalLabels:
|
||||
release: kube-prometheus-stack
|
||||
|
||||
# --- Unifi Controller configuration ---
|
||||
# Credentials loaded from ExternalSecret (synced from Vault)
|
||||
unpoller:
|
||||
# Prometheus exporter configuration
|
||||
prometheus:
|
||||
# HTTP server configuration
|
||||
http_listen: 0.0.0.0:9130
|
||||
# Report total error counts
|
||||
report_errors: true
|
||||
|
||||
# Influx DB disabled (using Prometheus only)
|
||||
influxdb:
|
||||
disable: true
|
||||
|
||||
# Polling intervals
|
||||
interval: 30s
|
||||
|
||||
# --- Environment variables from secrets ---
|
||||
# Credentials are stored in Vault and synced via ExternalSecret
|
||||
env:
|
||||
- name: UP_UNIFI_DEFAULT_URL
|
||||
value: "https://172.28.110.1:8443"
|
||||
- name: UP_UNIFI_DEFAULT_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: unpoller-secret
|
||||
key: unifi-user
|
||||
- name: UP_UNIFI_DEFAULT_PASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: unpoller-secret
|
||||
key: unifi-pass
|
||||
- name: UP_UNIFI_DEFAULT_VERIFY_SSL
|
||||
value: "false"
|
||||
- name: UP_UNIFI_DEFAULT_SAVE_SITES
|
||||
value: "true"
|
||||
- name: UP_UNIFI_DEFAULT_SAVE_DPI
|
||||
value: "true"
|
||||
- name: UP_PROMETHEUS_HTTP_LISTEN
|
||||
value: "0.0.0.0:9130"
|
||||
- name: UP_PROMETHEUS_NAMESPACE
|
||||
value: "unpoller"
|
||||
|
||||
# --- Resources ---
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
|
||||
# --- Pod annotations for Reloader ---
|
||||
# Automatically restart when secrets change
|
||||
podAnnotations:
|
||||
secret.reloader.stakater.com/reload: "unpoller-secret"
|
||||
Reference in New Issue
Block a user