From d4ae2055a71d90d8b8555f79a7a01fbd380a8557 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 2 Apr 2023 21:50:26 -0400 Subject: [PATCH] Completely rewrite the traefik ingress --- cluster/apps/traefik/dashboard-ingress.yaml | 45 +++++++++++++++------ 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/cluster/apps/traefik/dashboard-ingress.yaml b/cluster/apps/traefik/dashboard-ingress.yaml index b4623fe..ed7c57d 100644 --- a/cluster/apps/traefik/dashboard-ingress.yaml +++ b/cluster/apps/traefik/dashboard-ingress.yaml @@ -1,22 +1,43 @@ --- +#apiVersion: networking.k8s.io/v1 +#kind: Ingress +#metadata: +# name: traefik-dashboard +# namespace: traefik +# annotations: +## cert-manager.io/cluster-issuer: "letsencrypt-production" +## hajimari.io/appName: "traefik" +## hajimari.io/enable: "true" +## hajimari.io/icon: "web" +# traefik.ingress.kubernetes.io/router.entrypoints: "websecure" +## traefik.ingress.kubernetes.io/router.middlewares: "networking-traefik-forward-auth@kubernetescrd" +#spec: +## ingressClassName: "traefik" +## tls: +## - hosts: +## - "traefik.${SECRET_DOMAIN}" +## secretName: "traefik-dashboard-tls" +# rules: +# - host: "k3st.***REMOVED***" +# http: +# paths: +# - path: /dashboard +# pathType: Prefix +# backend: +# service: +# name: traefik +# port: +# number: 9000 + + apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: traefik-dashboard + name: traefik-dashboard-ingress namespace: traefik annotations: -# cert-manager.io/cluster-issuer: "letsencrypt-production" -# hajimari.io/appName: "traefik" -# hajimari.io/enable: "true" -# hajimari.io/icon: "web" - traefik.ingress.kubernetes.io/router.entrypoints: "websecure" -# traefik.ingress.kubernetes.io/router.middlewares: "networking-traefik-forward-auth@kubernetescrd" + traefik.ingress.kubernetes.io/router.entrypoints: websecure spec: -# ingressClassName: "traefik" -# tls: -# - hosts: -# - "traefik.${SECRET_DOMAIN}" -# secretName: "traefik-dashboard-tls" rules: - host: "k3st.***REMOVED***" http: