Last active
January 31, 2020 23:26
-
-
Save rudolphjacksonm/4527ff479fa64edaf56c7c6157417271 to your computer and use it in GitHub Desktop.
This file contains 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
# Backup all cert-manager data before upgrade | |
kubectl get -o yaml \ | |
--all-namespaces \ | |
issuer,clusterissuer,certificates > cert-manager-backup.yaml | |
# Backing up certificaterequests separately as our cluster | |
# didn't have this type of resource and hence would error out | |
kubectl get -o yaml \ | |
--all-namespaces \ | |
certificaterequests >> cert-manager-backup.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment