diff --git a/cluster/apps/simplebookmarks-staging/route.yaml b/cluster/apps/simplebookmarks-staging/route.yaml index 1b398a34..4b523a66 100644 --- a/cluster/apps/simplebookmarks-staging/route.yaml +++ b/cluster/apps/simplebookmarks-staging/route.yaml @@ -5,6 +5,8 @@ kind: IngressRoute metadata: name: staging-api namespace: simplebookmarks-staging + annotations: + acme.cert-manager.io/http01-ingress-class: traefik spec: entryPoints: - websecure diff --git a/cluster/core/cert-manager/letsencrypt-production.yaml b/cluster/core/cert-manager/letsencrypt-production.yaml index 1f880a85..fdc54426 100644 --- a/cluster/core/cert-manager/letsencrypt-production.yaml +++ b/cluster/core/cert-manager/letsencrypt-production.yaml @@ -19,3 +19,6 @@ spec: selector: dnsZones: - ${SECRET_DOMAIN} + - http01: + ingress: + class: traefik diff --git a/cluster/core/cert-manager/letsencrypt-staging.yaml b/cluster/core/cert-manager/letsencrypt-staging.yaml index 0d08a792..7677af95 100644 --- a/cluster/core/cert-manager/letsencrypt-staging.yaml +++ b/cluster/core/cert-manager/letsencrypt-staging.yaml @@ -19,3 +19,6 @@ spec: selector: dnsZones: - ${SECRET_DOMAIN} + - http01: + ingress: + class: traefik