From 6916c5b5eeffbbeaad586e61a9a56ef4ad26312f Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Mon, 16 Mar 2026 15:27:45 -0700 Subject: [PATCH] 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) --- argocd/manifests/unpoller/deployment.yaml | 2 +- argocd/manifests/unpoller/up.conf | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/argocd/manifests/unpoller/deployment.yaml b/argocd/manifests/unpoller/deployment.yaml index 8fcd0fa..2f7d13c 100644 --- a/argocd/manifests/unpoller/deployment.yaml +++ b/argocd/manifests/unpoller/deployment.yaml @@ -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 diff --git a/argocd/manifests/unpoller/up.conf b/argocd/manifests/unpoller/up.conf index ede751a..0430067 100644 --- a/argocd/manifests/unpoller/up.conf +++ b/argocd/manifests/unpoller/up.conf @@ -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