Skip to content

Commit

Permalink
feat: move to api key
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Jan 10, 2025
1 parent 8916fa1 commit ec2346a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ spec:
template:
engineVersion: v2
data:
UNIFI_USER: "{{ .EXTERNAL_DNS_UNIFI_USER }}"
UNIFI_PASS: "{{ .EXTERNAL_DNS_UNIFI_PASS }}"
UNIFI_API_KEY: "{{ .UNIFI_API_KEY }}"
dataFrom:
- extract:
key: unifi
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,10 @@ spec:
env:
- name: UNIFI_HOST
value: https://unifi.internal
- name: &name UNIFI_USER
- name: &name UNIFI_API_KEY
valueFrom:
secretKeyRef:
name: &secret external-dns-unifi-secret
key: *name
- name: &name UNIFI_PASS
valueFrom:
secretKeyRef:
name: *secret
name: external-dns-unifi-secret
key: *name
livenessProbe:
httpGet:
Expand Down

0 comments on commit ec2346a

Please sign in to comment.