Last active
March 9, 2026 03:17
-
-
Save Mossman1215/deeda6d8049c18c6fd77615c8f4e962a to your computer and use it in GitHub Desktop.
grab kubernetes openapi spec for offline validation
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
| #references https://stackoverflow.com/questions/180052/checkout-subdirectories-in-git | |
| #for use with https://github.com/yannh/kubeconform | |
| git clone -n --depth=1 --filter=tree:0 \ | |
| git@github.com:kubernetes/kubernetes | |
| cd kubernetes | |
| git sparse-checkout set --no-cone api/openapi-spec | |
| git checkout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment