From b8eea1e7643488b7cf0a3ea7b317e260db28e663 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Sat, 29 Jun 2024 16:38:01 -0800 Subject: [PATCH] use https --- charts/fp/Chart.yaml | 2 +- charts/fp/templates/echo.yaml | 48 ++++++++++++++++++++--------------- 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/charts/fp/Chart.yaml b/charts/fp/Chart.yaml index 96fbd20..5fe9838 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.31 +version: 0.0.32 keywords: - fp - futureporn diff --git a/charts/fp/templates/echo.yaml b/charts/fp/templates/echo.yaml index c038988..427a863 100644 --- a/charts/fp/templates/echo.yaml +++ b/charts/fp/templates/echo.yaml @@ -40,26 +40,9 @@ spec: - protocol: TCP port: 80 targetPort: 5678 - -# --- -# apiVersion: traefik.io/v1alpha1 -# kind: IngressRoute -# metadata: -# name: echo -# namespace: futureporn - -# spec: -# entryPoints: -# - web -# - websecure -# tls: -# secretName: echo-cert -# routes: -# - match: Host(`echo.fp.sbtp.xyz`) || PathPrefix(`/extra/echo`) -# kind: Rule -# services: -# - name: echo -# port: 8001 + - protocol: TCP + port: 443 + targetPort: 5678 --- apiVersion: networking.k8s.io/v1 @@ -69,7 +52,8 @@ metadata: namespace: futureporn annotations: kubernetes.io/ingress.class: traefik - traefik.ingress.kubernetes.io/router.entrypoints: web + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" cert-manager.io/cluster-issuer: "{{ .Values.certManager.issuer }}" spec: ingressClassName: traefik @@ -100,3 +84,25 @@ spec: port: 9090 auth: chisel {{ end }} + + + +# --- +# apiVersion: traefik.io/v1alpha1 +# kind: IngressRoute +# metadata: +# name: echo +# namespace: futureporn + +# spec: +# entryPoints: +# - web +# - websecure +# tls: +# secretName: echo-cert +# routes: +# - match: Host(`echo.fp.sbtp.xyz`) || PathPrefix(`/extra/echo`) +# kind: Rule +# services: +# - name: echo +# port: 8001