external-dns annotation for longhorn

This commit is contained in:
Ibrahim Mkusa 2024-12-31 21:12:17 -05:00
parent b51c7dff6d
commit e5e4382322
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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: