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:
name: letsencrypt-production
solvers:
- dns01:
cloudflare:
apiTokenSecretRef:
name: cloudflare-api-token-secret
key: api-token
- http01:
ingress:
class: traefik
# - dns01:
# cloudflare:
# apiTokenSecretRef:
# name: cloudflare-api-token-secret
# key: api-token

View File

@ -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: