minikube/third_party/kubeadm
guoguangwu 4d5265bba9 fix: io/ioutil deprecated 2023-05-31 16:38:55 +08:00
..
app fix: io/ioutil deprecated 2023-05-31 16:38:55 +08: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