From 928fc6c693b599dcaff22ea440f41afe07fc7c0f Mon Sep 17 00:00:00 2001 From: alexlebens Date: Thu, 1 Aug 2024 23:16:04 -0500 Subject: [PATCH] update ingress route for external dns --- .../calibre-web-automated/templates/ingress-route.yaml | 4 ++++ .../cl01tl/applications/homepage/templates/ingress-route.yaml | 4 ++++ .../cl01tl/applications/koel/templates/ingress-route.yaml | 4 ++++ .../cl01tl/applications/kyoo/templates/ingress-route.yaml | 4 ++++ clusters/cl01tl/services/external-dns/values.yaml | 1 + 5 files changed, 17 insertions(+) diff --git a/clusters/cl01tl/applications/calibre-web-automated/templates/ingress-route.yaml b/clusters/cl01tl/applications/calibre-web-automated/templates/ingress-route.yaml index 52e6536f3..11d3e0a49 100644 --- a/clusters/cl01tl/applications/calibre-web-automated/templates/ingress-route.yaml +++ b/clusters/cl01tl/applications/calibre-web-automated/templates/ingress-route.yaml @@ -9,6 +9,10 @@ metadata: app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: web app.kubernetes.io/part-of: {{ .Release.Name }} + annotations: + external-dns.alpha.kubernetes.io/hostname: calibre.alexlebens.net + external-dns.alpha.kubernetes.io/target: cl01tl-endpoint.alexlebens.net + kubernetes.io/ingress.class: traefik spec: entryPoints: - websecure diff --git a/clusters/cl01tl/applications/homepage/templates/ingress-route.yaml b/clusters/cl01tl/applications/homepage/templates/ingress-route.yaml index 0c0097fb1..01f8a9d92 100644 --- a/clusters/cl01tl/applications/homepage/templates/ingress-route.yaml +++ b/clusters/cl01tl/applications/homepage/templates/ingress-route.yaml @@ -9,6 +9,10 @@ metadata: app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: web app.kubernetes.io/part-of: {{ .Release.Name }} + annotations: + external-dns.alpha.kubernetes.io/hostname: home.alexlebens.net + external-dns.alpha.kubernetes.io/target: cl01tl-endpoint.alexlebens.net + kubernetes.io/ingress.class: traefik spec: entryPoints: - websecure diff --git a/clusters/cl01tl/applications/koel/templates/ingress-route.yaml b/clusters/cl01tl/applications/koel/templates/ingress-route.yaml index 771e85bac..e35418575 100644 --- a/clusters/cl01tl/applications/koel/templates/ingress-route.yaml +++ b/clusters/cl01tl/applications/koel/templates/ingress-route.yaml @@ -9,6 +9,10 @@ metadata: app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: web app.kubernetes.io/part-of: {{ .Release.Name }} + annotations: + external-dns.alpha.kubernetes.io/hostname: koel.alexlebens.net + external-dns.alpha.kubernetes.io/target: cl01tl-endpoint.alexlebens.net + kubernetes.io/ingress.class: traefik spec: entryPoints: - websecure diff --git a/clusters/cl01tl/applications/kyoo/templates/ingress-route.yaml b/clusters/cl01tl/applications/kyoo/templates/ingress-route.yaml index 5b491403a..ff29f95b3 100644 --- a/clusters/cl01tl/applications/kyoo/templates/ingress-route.yaml +++ b/clusters/cl01tl/applications/kyoo/templates/ingress-route.yaml @@ -9,6 +9,10 @@ metadata: app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: web app.kubernetes.io/part-of: {{ .Release.Name }} + annotations: + external-dns.alpha.kubernetes.io/hostname: kyoo.alexlebens.net + external-dns.alpha.kubernetes.io/target: cl01tl-endpoint.alexlebens.net + kubernetes.io/ingress.class: traefik spec: entryPoints: - websecure diff --git a/clusters/cl01tl/services/external-dns/values.yaml b/clusters/cl01tl/services/external-dns/values.yaml index 05b568d05..a0e0022af 100644 --- a/clusters/cl01tl/services/external-dns/values.yaml +++ b/clusters/cl01tl/services/external-dns/values.yaml @@ -48,3 +48,4 @@ external-dns-unifi: timeoutSeconds: 5 extraArgs: - --ignore-ingress-tls-spec + - --traefik-disable-legacy