Created
August 14, 2020 13:17
-
-
Save red-avtovo/bfcfb728955a00bd6dfe7d6aa690ebed to your computer and use it in GitHub Desktop.
Export all CRS from the cluster in order to import it to IDE supporting crds autocompletion
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
kubectl get crd | sed -n '1!p' | awk '{print $1}' | xargs -I {} sh -c 'echo "Saving {}"; kubectl get crd {} -o yaml > {}.yaml' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment