mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 20:20:27 +00:00
Update openapi updater scripts
This commit is contained in:
@@ -8,7 +8,7 @@ VERSION=$1
|
||||
|
||||
cp $HOME/.kube/config /tmp/kubeconfig.txt | true
|
||||
$MYGOBIN/kind create cluster --image kindest/node:$VERSION --name=getopenapidata
|
||||
$MYGOBIN/kpt live fetch-k8s-schema --pretty-print > /tmp/new_swagger.json
|
||||
$MYGOBIN/kustomize openapi fetch > /tmp/new_swagger.json
|
||||
$MYGOBIN/kind delete cluster --name=getopenapidata
|
||||
cp /tmp/kubeconfig.txt $HOME/.kube/config | true
|
||||
mkdir -p kubernetesapi/"${VERSION//.}"
|
||||
|
||||
Reference in New Issue
Block a user