Try to get working

This commit is contained in:
SeanOMik 2023-04-10 19:24:04 -04:00
parent 6caca9aeac
commit f0d61e461d
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
2 changed files with 9 additions and 6 deletions

View File

@ -10,8 +10,11 @@ spec:
privateKeySecretRef: privateKeySecretRef:
name: letsencrypt-production name: letsencrypt-production
solvers: solvers:
- dns01: - http01:
cloudflare: ingress:
apiTokenSecretRef: class: traefik
name: cloudflare-api-token-secret # - dns01:
key: api-token # cloudflare:
# apiTokenSecretRef:
# name: cloudflare-api-token-secret
# key: api-token

View File

@ -86,7 +86,7 @@ spec:
cert-manager.io/cluster-issuer: "letsencrypt-production" cert-manager.io/cluster-issuer: "letsencrypt-production"
traefik.ingress.kubernetes.io/router.middlewares: "traefik-authentik@kubernetescrd" traefik.ingress.kubernetes.io/router.middlewares: "traefik-authentik@kubernetescrd"
entryPoints: [ "websecure" ] 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. # Set Traefik as your default Ingress Controller, according to Kubernetes 1.19+ changes.
ingressClass: ingressClass: