Switch unpoller to remote API mode via api.ui.com

Local API key auth doesn't work with the UX7's new Integration API.
Use the remote Site Manager API instead, which auto-discovers consoles.
Events disabled due to upstream bug (unpoller/unpoller#966).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-16 14:50:35 -07:00
commit 61b1e0cc07
2 changed files with 6 additions and 4 deletions

View file

@ -22,7 +22,7 @@ spec:
- containerPort: 9130
name: metrics
env:
- name: UP_UNIFI_DEFAULT_API_KEY
- name: UP_UNIFI_REMOTE_API_KEY
valueFrom:
secretKeyRef:
name: unpoller-unifi

View file

@ -7,10 +7,12 @@
[unifi]
dynamic = false
# Remote API mode — auto-discovers consoles via api.ui.com
remote = true
# API key comes from environment variable: UP_UNIFI_REMOTE_API_KEY
[unifi.defaults]
# API key comes from environment variable: UP_UNIFI_DEFAULT_API_KEY
url = "https://192.168.1.1"
verify_ssl = false
verify_ssl = true
save_sites = true
save_dpi = false
save_events = false