Open ppodevlabs opened 1 week ago
I think this is not supported in Cert Manager, since the wildcard support is allowed only for DNS01 challenges.
I think this is not supported in Cert Manager, since the wildcard support is allowed only for DNS01 challenges.
Hi! i think quoting won't break any dns name, eitherway i did a test with a certificate and it works as expected
Issuer
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: self-signed
spec:
selfSigned: {}
Certificate
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: test-serving-cert
spec:
dnsNames:
- capsule-proxy
- capsule-proxy.capsule-system.svc
- '*-proxy.capsule-system.svc'
issuerRef:
kind: ClusterIssuer
name: self-signed
secretName: test-cert
subject:
organizations:
- clastix.io
status:
conditions:
- lastTransitionTime: "2024-09-13T06:20:01Z"
message: Certificate is up to date and has not expired
observedGeneration: 1
reason: Ready
status: "True"
type: Ready
notAfter: "2024-12-12T06:20:01Z"
notBefore: "2024-09-13T06:20:01Z"
renewalTime: "2024-11-12T06:20:01Z"
revision: 1
Thanks for testing it! 🚀
Bug description
When enabling cert-manager for certificates, if you add a wildcard to the dns extra configuration it fails with
How to reproduce
use values:
Expected behavior
It shoudl generate the certificate object with the proper wildcard in there
Additional context