fix(k8s): ACME-HTTP01-Challenge im eigenen Ingress (edit-in-place)
Docker-Images bauen und veroeffentlichen / build-and-push (push) Successful in 1m53s
Docker-Images bauen und veroeffentlichen / build-and-push (push) Successful in 1m53s
cert-manager legte die Challenge in einem separaten Ingress ohne TLS an.
Die HTTP->HTTPS-Umleitung schickte die Pruefung auf HTTPS, wo nur die App
antwortete ("expected <token> but got <!doctype html>"), das Zertifikat
wurde nie ausgestellt und Traefik zeigte sein Default-Zertifikat.
Mit http01-edit-in-place landet der Challenge-Pfad im App-Ingress und
gilt damit auch unter HTTPS.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
6a9c6c8e50
commit
28663cda7a
1 file changed
+5
@@ -7,6 +7,11 @@ metadata:
|
||||
namespace: artista
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
# Challenge-Pfad direkt in DIESEN Ingress eintragen statt in einen
|
||||
# eigenen ohne TLS: sonst leitet die HTTP->HTTPS-Umleitung die
|
||||
# Let's-Encrypt-Pruefung auf HTTPS um, wo nur die App antwortet
|
||||
# ("expected <token> but got <!doctype html>").
|
||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||
# HTTP -> HTTPS ueber die Middleware unten (Praefix = Namespace).
|
||||
traefik.ingress.kubernetes.io/router.middlewares: artista-redirect-to-https@kubernetescrd
|
||||
spec:
|
||||
|
||||
Reference in new issue
Block a user