-
I used nginx ingress controller, calico network plugin and activated cert manager by default. If i add an issuer + a certificate to the cluster, cert-manager is not able to fulfill the challenge.
Output:
The acme challenge link is accessible from outside the cluster but not from inside the cluster.
my kube.tf:
my issuer:
my certificate:
Any idea how to fix that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I finally found a solution, it is similar to this one #413 and here hetznercloud/hcloud-cloud-controller-manager#58 (comment) steps to fix the issue:
kubectl get svc nginx-ingress-nginx-controller -n nginx -o yaml > ingress_controller_nginx.yaml
kubectl apply -f ingress_controller_nginx.yaml -n nginx after these steps, you can apply an issuer and a certificate and cert-manager passes successful. |
Beta Was this translation helpful? Give feedback.
-
Thank you! This has been driving me nuts as I could not figure it out. |
Beta Was this translation helpful? Give feedback.
I finally found a solution, it is similar to this one #413 and here hetznercloud/hcloud-cloud-controller-manager#58 (comment)
steps to fix the issue:
kubectl get svc nginx-ingress-nginx-controller -n nginx -o yaml > ingress_controller_nginx.yaml
add annotation
load-balancer.hetzner.cloud/hostname: your-domain.de
(replace your-domain.de with your domain)apply changes
after these steps, you can apply an issuer and a certificate and cert-manager passes successful.