From f0d61e461ddc3989b84281303cb2f2894970624e Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Mon, 10 Apr 2023 19:24:04 -0400 Subject: [PATCH] Try to get working --- cluster/core/cert-manager/letsencrypt-prod.yaml | 13 ++++++++----- cluster/core/networking/traefik/helm-release.yaml | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/cluster/core/cert-manager/letsencrypt-prod.yaml b/cluster/core/cert-manager/letsencrypt-prod.yaml index 0503a82..55a73c2 100644 --- a/cluster/core/cert-manager/letsencrypt-prod.yaml +++ b/cluster/core/cert-manager/letsencrypt-prod.yaml @@ -10,8 +10,11 @@ spec: privateKeySecretRef: name: letsencrypt-production solvers: - - dns01: - cloudflare: - apiTokenSecretRef: - name: cloudflare-api-token-secret - key: api-token \ No newline at end of file + - http01: + ingress: + class: traefik +# - dns01: +# cloudflare: +# apiTokenSecretRef: +# name: cloudflare-api-token-secret +# key: api-token \ No newline at end of file diff --git a/cluster/core/networking/traefik/helm-release.yaml b/cluster/core/networking/traefik/helm-release.yaml index dd79b18..0ea46c5 100644 --- a/cluster/core/networking/traefik/helm-release.yaml +++ b/cluster/core/networking/traefik/helm-release.yaml @@ -86,7 +86,7 @@ spec: cert-manager.io/cluster-issuer: "letsencrypt-production" traefik.ingress.kubernetes.io/router.middlewares: "traefik-authentik@kubernetescrd" entryPoints: [ "websecure" ] - matchRule: Host(`k3st.${SECRET_DOMAIN}`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`)) + matchRule: Host(`traefik.${SECRET_DOMAIN}`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`)) # Set Traefik as your default Ingress Controller, according to Kubernetes 1.19+ changes. ingressClass: