k8s/003-cert-manager/uninstall.sh

10 lines
366 B
Bash
Raw Normal View History

2022-07-02 18:47:08 +00:00
#!/bin/bash
CHART_VERSION=1.8.0
kubectl delete -f vault-issuer.yaml
kubectl get Issuers,ClusterIssuers,Certificates,CertificateRequests,Orders,Challenges --all-namespaces
#helm -n cert-manager delete cert-manager
#kubectl delete ns cert-manager
#kubectl delete -f https://github.com/jetstack/cert-manager/releases/download/v${CHART_VERSION}/cert-manager.crds.yaml