-
-
Save stoic-coder/056b78618032634b24aedea1cb10608f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # First dump the current ClusterIssuer and Certificates (you'll need the issuer config later). | |
| kubectl get -o yaml --all-namespaces issuer,clusterissuer,certificates > cert-manager-backup.yaml | |
| # Now delete the current cert-manager installation. | |
| kubectl delete deployments test | |
| # Then apply the new CRD: | |
| kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.9/deploy/manifests/00-crds.yaml | |
| # Apply the "disable-validation" flag to the namespace. | |
| kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true | |
| # Add the jetstack Helm repository | |
| helm repo add jetstack https://charts.jetstack.io | |
| helm repo update | |
| # And install the new cert-manager. Please note the namespace. | |
| helm install --version 0.9.1 --name cert-manager --namespace cert-manager jetstack/cert-manager | |
| # Then re-apply the issuer copied from the backup in the first step. | |
| kubectl apply -f issuer.yaml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment