diff --git a/kubernetes/apps/monitoring/unpoller/app/externalsecret.yaml b/kubernetes/apps/monitoring/unpoller/app/externalsecret.yaml index 7d0363410..04e11b636 100644 --- a/kubernetes/apps/monitoring/unpoller/app/externalsecret.yaml +++ b/kubernetes/apps/monitoring/unpoller/app/externalsecret.yaml @@ -13,8 +13,7 @@ spec: template: engineVersion: v2 data: - UP_UNIFI_DEFAULT_USER: "{{ .UP_UNIFI_DEFAULT_USER }}" - UP_UNIFI_DEFAULT_PASS: "{{ .UP_UNIFI_DEFAULT_PASS }}" + UP_UNIFI_DEFAULT_API_KEY: "{{ .UNIFI_API_KEY }}" dataFrom: - extract: key: unifi