Remove CABundle
from CRDs if the cert is invalid
#800
Labels
area/server-side-apply
SSA related issues and pull requests
CABundle
from CRDs if the cert is invalid
#800
Starting with Kubernetes 1.31, CRDs which have an invalid cert as the value of
spec.conversion.webhook.clientConfig.caBundle
are being rejected by the API. Since there are lots of CRDs with a dummy value forcaBundle
, these will fail to be reconciled even if cert-manager is configured to update the bundle to a valid one. To avoid this type of conflict, we should validate the bundle in the same way Kubernetes does it, and if the validation fails we need to remove the field from the SSA patch.Xref:
The text was updated successfully, but these errors were encountered: