From 7d03bc5443335583dd931d03f29ac905f61ad744 Mon Sep 17 00:00:00 2001 From: Jory Irving <46251616+joryirving@users.noreply.github.com> Date: Fri, 10 Jan 2025 15:25:43 -0700 Subject: [PATCH] Revert "feat: cutover to api key (#3503)" This reverts commit c8b50e6f17424ee82ef4dbdb05a994d353eb2ee6. --- .../observability/exporters/unpoller/app/externalsecret.yaml | 5 +++-- .../observability/exporters/unpoller/app/helmrelease.yaml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/kubernetes/main/apps/observability/exporters/unpoller/app/externalsecret.yaml b/kubernetes/main/apps/observability/exporters/unpoller/app/externalsecret.yaml index 8be26fcb26..3afb63bf3e 100644 --- a/kubernetes/main/apps/observability/exporters/unpoller/app/externalsecret.yaml +++ b/kubernetes/main/apps/observability/exporters/unpoller/app/externalsecret.yaml @@ -3,7 +3,7 @@ apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: - name: &name unpoller + name: &name unpoller-secret spec: secretStoreRef: kind: ClusterSecretStore @@ -13,7 +13,8 @@ spec: template: engineVersion: v2 data: - UP_UNIFI_DEFAULT_APIKEY: "{{ .UNPOLLER_UNIFI_API_KEY }}" + UP_UNIFI_DEFAULT_USER: "{{ .UNPOLLER_UNIFI_USER }}" + UP_UNIFI_DEFAULT_PASS: "{{ .UNPOLLER_UNIFI_PASS }}" dataFrom: - extract: key: unifi diff --git a/kubernetes/main/apps/observability/exporters/unpoller/app/helmrelease.yaml b/kubernetes/main/apps/observability/exporters/unpoller/app/helmrelease.yaml index a3773e9d6c..d98811116d 100644 --- a/kubernetes/main/apps/observability/exporters/unpoller/app/helmrelease.yaml +++ b/kubernetes/main/apps/observability/exporters/unpoller/app/helmrelease.yaml @@ -31,13 +31,13 @@ spec: app: image: repository: ghcr.io/unpoller/unpoller - tag: v2.14.0@sha256:6e9eb4a34b8d976e398511766281ec51946aafa51b5f563fca9238656eeaa118 + tag: v2.13.1@sha256:2376aff5e18b8f9fdd618becc2ef668ce31deb4c0e74acc5bea88e6c20c23a39 env: UP_UNIFI_DEFAULT_URL: https://192.168.1.1 UP_INFLUXDB_DISABLE: true envFrom: - secretRef: - name: *app + name: unpoller-secret probes: liveness: enabled: true