53 lines
1.7 KiB
YAML
53 lines
1.7 KiB
YAML
image:
|
|
# -- Image to deploy.
|
|
repository: tccr.io/truecharts/unifi-poller
|
|
# -- Image [k8s pull policy](https://kubernetes.io/docs/concepts/containers/images/#updating-images).
|
|
pullPolicy: IfNotPresent
|
|
# -- Image tag to deploy.
|
|
tag: v2.1.3@sha256:2d6cd1f4cdc3d8522d697830f69ca12aa2fe24fda4e5476610af6e0b5c0597e9
|
|
|
|
|
|
# -- Environment variable configuration options for unifi-poller ([docs](https://unifipoller.com/docs/install/configuration)).
|
|
# Note: a [configuration file](https://github.com/unifi-poller/unifi-poller/blob/master/examples/up.conf.example) is also supported.
|
|
env:
|
|
# TZ: UTC
|
|
# UP_UNIFI_DEFAULT_URL: "https://127.0.0.1:8443"
|
|
# UP_UNIFI_DEFAULT_USER: "unifipoller"
|
|
# UP_UNIFI_DEFAULT_PASS: "unifipoller"
|
|
UP_PROMETHEUS_DISABLE: false
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
enabled: false
|
|
metrics:
|
|
enabled: true
|
|
port: 9130
|
|
|
|
metrics:
|
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
|
# @default -- See values.yaml
|
|
enabled: false
|
|
serviceMonitor:
|
|
interval: 1m
|
|
scrapeTimeout: 30s
|
|
labels: {}
|
|
# -- Enable and configure Prometheus Rules for the chart under this key.
|
|
# @default -- See values.yaml
|
|
prometheusRule:
|
|
enabled: false
|
|
labels: {}
|
|
# -- Configure additionial rules for the chart under this key.
|
|
# @default -- See prometheusrules.yaml
|
|
rules: []
|
|
# - alert: UnifiPollerAbsent
|
|
# annotations:
|
|
# description: Unifi Poller has disappeared from Prometheus service discovery.
|
|
# summary: Unifi Poller is down.
|
|
# expr: |
|
|
# absent(up{job=~".*unifi-poller.*"} == 1)
|
|
# for: 5m
|
|
# labels:
|
|
# severity: critical
|