minikube/third_party/kubeadm
Steven Powell 1aa1f04e9b remove old build tags 2022-03-30 16:43:29 -07:00
..
app remove old build tags 2022-03-30 16:43:29 -07:00
README.md remove test files 2021-12-07 14:20:07 -08:00

README.md

maintaining a fork of kubernetes constants to avoid depending on k8s.io/kubernetes/ as a lib how to update this fork

clone latest stable version

git clone --depth 1 --branch v1.22.4 git@github.com:kubernetes/kubernetes.git ./out/kubernetes
rm -rf ./third_party/kubeadm || true
mkdir -p ./third_party/kubeadm/app/
cp -r ./out/kubernetes/cmd/kubeadm/app/features ./third_party/kubeadm/app/
cp -r ./out/kubernetes/cmd/kubeadm/app/constants ./third_party/kubeadm/app/
rm ./third_party/kubeadm/app/features/*_test.go || true
rm ./third_party/kubeadm/app/constants/*_test.go || true