You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With version 3.x.x, the server doesn't crash when Kubernetes secret has a duplicate certificate but it does not expose other certs' metrics. It would be good to either directly ignore the duplicate certs or give the option to the user via a flag to ignore these.
~ # curl http://172.20.72.13:9793/metrics
An error has occurred while serving metrics:
collected metric "x509_cert_error" { label:{name:"secret_key" value:"pubkey"} label:{name:"secret_name" value:"certs-server"} label:{name:"secret_namespace" value:"xxx"} xxx:{value:1}} was collected before with the same name and label values
The text was updated successfully, but these errors were encountered:
I'm getting this same error on 3.18.1. I don't see a duplicate cert in the cluster? Clearly I'm misunderstanding something. What exactly is causing this? how is it possible to have a duplicate?
Edit: Oh i see. It's because there are 2 certs within tls.crt. Any plans to implement this feature request? For now I have to set it to ignore the kyverno namespace so that it won't blow up.
With version 3.x.x, the server doesn't crash when Kubernetes secret has a duplicate certificate but it does not expose other certs' metrics. It would be good to either directly ignore the duplicate certs or give the option to the user via a flag to ignore these.
The text was updated successfully, but these errors were encountered: