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