kubernetes-sigs / kind

Kubernetes IN Docker - local clusters for testing Kubernetes
https://kind.sigs.k8s.io/
Apache License 2.0
13.49k stars 1.56k forks source link

Migrate kubernetes subprojects off of deprecated flags #3717

Open BenTheElder opened 2 months ago

BenTheElder commented 2 months ago

There are a number of places that kubernetes subprojects are still using --kube-root or --loglevel with kind:

https://cs.k8s.io/?q=--kube-root&i=nope&files=&excludeFiles=&repos=

These flags are deprecated and we should migrate the usage.

For --kube-root, the value should be the first non-flag argument to kind build node-image instead.

For --loglevel, an appropriate verbosity should be set instead with -v

https://github.com/kubernetes-sigs/kind/pull/3716/files#diff-2740c7f56a6f791e3b58762614a3e84f6225b1df7531b792bebb1bb45f4b6b41L98-L101

/kind cleanup /sig testing

BenTheElder commented 2 months ago

https://github.com/kubernetes/test-infra/pull/33331

BenTheElder commented 2 months ago

we're waiting for https://github.com/kubernetes-csi/csi-release-tools/pull/259 and then we will have to revisit the other kubernetes-csi* repos, thanks @stmcginnis