Script to detect "orphaned" TLS secrets when Cert manager (cainjector) complains about "unable to fetch certificate that owns the secret", because deleting a Certificate will not (default) delete the…
This article provides a Bash script that detects and cleans up "orphaned" TLS secrets in Kubernetes—secrets that remain after their corresponding cert-manager Certificate resources have been deleted. The script addresses…