55 lines
1.7 KiB
YAML
55 lines
1.7 KiB
YAML
|
image:
|
||
|
# -- Image to deploy.
|
||
|
repository: golift/unifi-poller
|
||
|
# -- Image [k8s pull policy](https://kubernetes.io/docs/concepts/containers/images/#updating-images).
|
||
|
pullPolicy: IfNotPresent
|
||
|
# -- Image tag to deploy.
|
||
|
tag: 2.1.3@sha256:8cd99d3eaeee316cbd9bb50c29a55b042fe1c7844f8e44ed19b7eaa6071e8df7
|
||
|
|
||
|
|
||
|
# -- 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: true
|
||
|
UP_INFLUXDB_DISABLE: true
|
||
|
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
enabled: false
|
||
|
metrics:
|
||
|
enabled: true
|
||
|
protocol: TCP
|
||
|
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
|