diff --git a/templates/longhorn/longhorn-values.yaml.j2 b/templates/longhorn/longhorn-values.yaml.j2 index 7bb417f..8226098 100644 --- a/templates/longhorn/longhorn-values.yaml.j2 +++ b/templates/longhorn/longhorn-values.yaml.j2 @@ -43,4 +43,6 @@ ingress: {% if basic_auth is defined %} traefik.ingress.kubernetes.io/router.middlewares: basic-auth@file {% endif %} + external-dns.alpha.kubernetes.io/hostname: longhorn.{{ cluster_domain }} + external-dns.alpha.kubernetes.io/target: traefik.{{ cluster_domain }} #enablePSP: true