[octavia-ingress-controller] failure to use cert-manager + Let's Encrypt #2627
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
I have a K8s 1.28 cluster configured with the octaiva-ingress-controller v1.29.0. I'm trying to configure TLS using the cert-manager with the Let's Encrypt backend. I followed instructions at https://github.com/cert-manager/cert-manager and https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/octavia-ingress-controller/using-octavia-ingress-controller.md#enable-tls-encryption to configure a test web server with TLS enabled.
The certificate and private key are created as showed by
kubectl describe certificate/secret
. The challenges succeeds and every looks ok on the Let's Encrypt Side. But the ingress fails to start with the following events:What you expected to happen:
I expected the ingress to be able to use the created certificate and to start successfully! The same ingress configuration works if a "static certificate" (not managed by cert-manager) is used.
I suspect it is because the secret created by cert-manager has a suffix (
letsencrypt-staging-mfzml
instead ofletsencrypt-staging
).How to reproduce it:
Configure cert-manager and the the ingress service according to the mentioned documentation.
Anything else we need to know?:
I attach:
kubectl describe certificate
outputkubectl describe ingress
outputEnvironment:
The text was updated successfully, but these errors were encountered: