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: