use api key

This commit is contained in:
2025-02-22 21:41:47 -06:00
parent 17297497a4
commit d7686cf30c
2 changed files with 4 additions and 16 deletions

View File

@@ -14,17 +14,10 @@ spec:
kind: ClusterSecretStore
name: vault
data:
- secretKey: username
- secretKey: api-key
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /unifi/auth/cl01tl
metadataPolicy: None
property: user
- secretKey: password
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /unifi/auth/cl01tl
metadataPolicy: None
property: password
property: api-key

View File

@@ -23,16 +23,11 @@ external-dns-unifi:
env:
- name: UNIFI_HOST
value: https://192.168.1.1
- name: UNIFI_USER
- name: UNIFI_API_KEY
valueFrom:
secretKeyRef:
name: external-dns-unifi-secret
key: username
- name: UNIFI_PASS
valueFrom:
secretKeyRef:
name: external-dns-unifi-secret
key: password
key: api-key
- name: LOG_LEVEL
value: debug
livenessProbe: