From f106257febae49b5422b3de4c9901d7d0232aaa0 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 9 Apr 2023 01:08:28 -0400 Subject: [PATCH] Use traefik helm chart for dashboard ingress --- cluster/core/networking/traefik/helm-release.yaml | 7 ++++++- cluster/core/networking/traefik/kustomization.yaml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cluster/core/networking/traefik/helm-release.yaml b/cluster/core/networking/traefik/helm-release.yaml index bc51922..fd851b9 100644 --- a/cluster/core/networking/traefik/helm-release.yaml +++ b/cluster/core/networking/traefik/helm-release.yaml @@ -81,7 +81,12 @@ spec: # Disable Dashboard ingressRoute: dashboard: - enabled: false + enabled: true + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-production" + #traefik.ingress.kubernetes.io/router.middlewares: + entryPoints: [ "websecure" ] + middlewares: [ "traefik-authentik@kubernetescrd" ] # Set Traefik as your default Ingress Controller, according to Kubernetes 1.19+ changes. ingressClass: diff --git a/cluster/core/networking/traefik/kustomization.yaml b/cluster/core/networking/traefik/kustomization.yaml index 37891c2..3672fd6 100644 --- a/cluster/core/networking/traefik/kustomization.yaml +++ b/cluster/core/networking/traefik/kustomization.yaml @@ -4,4 +4,4 @@ resources: - ./namespace.yaml - ./helm-repository.yaml - ./helm-release.yaml -- ./dashboard-ingress.yaml +#- ./dashboard-ingress.yaml