From e5e43823221a783d660aa44b937f2f880808f1cd Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Tue, 31 Dec 2024 21:12:17 -0500 Subject: [PATCH] external-dns annotation for longhorn --- manifests/external-dns/install.yaml | 2 +- manifests/longhorn/longhorn.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/external-dns/install.yaml b/manifests/external-dns/install.yaml index 2cadb03..c10d3a1 100644 --- a/manifests/external-dns/install.yaml +++ b/manifests/external-dns/install.yaml @@ -69,6 +69,6 @@ spec: - --policy=upsert-only - --provider=pihole # Change this to the actual address of your Pi-hole web server - - --pihole-server=http://192.168.0.234 + - --pihole-server=http://192.168.0.239 securityContext: fsGroup: 65534 # For ExternalDNS to be able to read Kubernetes token files diff --git a/manifests/longhorn/longhorn.yaml b/manifests/longhorn/longhorn.yaml index bd11084..1de7337 100644 --- a/manifests/longhorn/longhorn.yaml +++ b/manifests/longhorn/longhorn.yaml @@ -4719,6 +4719,8 @@ metadata: app.kubernetes.io/instance: longhorn app.kubernetes.io/version: v1.7.2 app: longhorn-ui + annotations: + external-dns.alpha.kubernetes.io/hostname: longhorn.homelab.local name: longhorn-frontend namespace: longhorn-system spec: