Closed StefanAbl closed 3 years ago
Never mind. I did not see that the common name for a ingress resource could be set using the annotation: cert-manager.io/common-name
.
@StefanAbl commonName was really painful to use with freeipa and library (nothing really work like we can imagine). But your solution is really good, I think.
Thanks, this was sort of hard to find, since it is not in the documentation for securing ingress. I found support for the common-name annotation was added here. I don't think this increases the required version of cert-manager.
When using cert-manger and this to secure an Ingress resource no commonName for the certificate request is generated and therefor issuing the certificate fails. Ingress:
It fails in provisioners/freeipa.go when it checks for a common Name but there is no commonName.
Maybe a fallback could be added when no commonName is present in the request for example: