Internal pihole ip refresh

This commit is contained in:
Ibrahim Mkusa 2024-12-31 20:37:09 -05:00
parent 5e7668b59f
commit b51c7dff6d

View File

@ -56,7 +56,7 @@ spec:
envFrom: envFrom:
- secretRef: - secretRef:
# Change this if you gave the secret a different name # Change this if you gave the secret a different name
name: external-dns-pihole-password name: pihole-password
args: args:
- --source=service - --source=service
- --source=ingress - --source=ingress
@ -69,6 +69,6 @@ spec:
- --policy=upsert-only - --policy=upsert-only
- --provider=pihole - --provider=pihole
# Change this to the actual address of your Pi-hole web server # Change this to the actual address of your Pi-hole web server
- --pihole-server=http://pihole-web.default.svc.cluster.local - --pihole-server=http://192.168.0.234
securityContext: securityContext:
fsGroup: 65534 # For ExternalDNS to be able to read Kubernetes token files fsGroup: 65534 # For ExternalDNS to be able to read Kubernetes token files