Switch unpoller back to local API key auth
The UX7's local Integration API key works against both the new Integration API and the classic controller API. Remote mode not needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
61b1e0cc07
commit
6916c5b5ee
2 changed files with 4 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ spec:
|
|||
- containerPort: 9130
|
||||
name: metrics
|
||||
env:
|
||||
- name: UP_UNIFI_REMOTE_API_KEY
|
||||
- name: UP_UNIFI_DEFAULT_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: unpoller-unifi
|
||||
|
|
|
|||
|
|
@ -7,12 +7,10 @@
|
|||
|
||||
[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]
|
||||
verify_ssl = true
|
||||
# API key comes from environment variable: UP_UNIFI_DEFAULT_API_KEY
|
||||
url = "https://192.168.1.1"
|
||||
verify_ssl = false
|
||||
save_sites = true
|
||||
save_dpi = false
|
||||
save_events = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue