Skip to content

Block deletion of CRDs if there are still some of the resources in the cluster

License

Notifications You must be signed in to change notification settings

vsliouniaev/k8s-crdguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card GitHub release (latest SemVer) Docker Pulls

k8s-crdguard

Uses jet/kube-webhook-certgen in the provided chart to simplify provisioning certificates for validatingwebhookconfigurations.

Usage of k8s-crdguard:
  -cert-file string
    	Path to certificate file to serve TLS. (default "/cert/cert")
  -crds value
    	List of crds to block deletion of. Default will block all CRDs. (example "prometheuses.monitoring.coreos.com")
  -key-file string
    	Path to key file to serve TLS. (default "/cert/key")
  -kubeconfig string
    	Path to kubeconfig file: e.g. ~/.kube/kind-config-kind. (default uses in-cluster config)
  -log-debug
    	Whether to enable debug log configuration. (default false)