From 93a25bb42c39f1fb78cfc4d908aa20e87b2b2c18 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Sat, 29 Jun 2024 20:42:21 -0800 Subject: [PATCH] move external-dns spec --- charts/fp/Chart.yaml | 2 +- charts/fp/templates/echo.yaml | 4 ++-- charts/fp/templates/traefik.yaml | 11 ++++++++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/charts/fp/Chart.yaml b/charts/fp/Chart.yaml index c093e44..05fb495 100644 --- a/charts/fp/Chart.yaml +++ b/charts/fp/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: fp description: The Galaxy's Best VTuber Hentai Site -version: 0.0.42 +version: 0.0.43 keywords: - fp - futureporn diff --git a/charts/fp/templates/echo.yaml b/charts/fp/templates/echo.yaml index 3495813..17399e3 100644 --- a/charts/fp/templates/echo.yaml +++ b/charts/fp/templates/echo.yaml @@ -67,8 +67,8 @@ metadata: spec: entryPoints: - web - tls: - secretName: echo-cert + # tls: + # secretName: echo-cert routes: - match: Host(`echo.fp.sbtp.xyz`) || PathPrefix(`/extra/echo`) kind: Rule diff --git a/charts/fp/templates/traefik.yaml b/charts/fp/templates/traefik.yaml index da916c7..2e05506 100644 --- a/charts/fp/templates/traefik.yaml +++ b/charts/fp/templates/traefik.yaml @@ -17,9 +17,6 @@ metadata: name: traefik namespace: futureporn annotations: - external-dns.alpha.kubernetes.io/hostname: "{{ .Values.echo.hostname }}" - external-dns.alpha.kubernetes.io/hostname: "{{ .Values.next.hostname }}" - external-dns.alpha.kubernetes.io/hostname: "{{ .Values.strapi.hostname }}" cert-manager.io/cluster-issuer: "{{ .Values.certManager.issuer }}" spec: type: LoadBalancer @@ -54,3 +51,11 @@ spec: name: traefik port: number: 443 + tls: + hosts: + - "{{ .Values.echo.hostname }}" + secretName: echo-cert + - "{{ .Values.next.hostname }}" + secretName: next-cert + - "{{ .Values.strapi.hostname }}" + secretName: strapi-cert \ No newline at end of file