spelling: Fix spelling errors with codespell (#21273)
Fix trivial spelling errors using codespell[1]:
codespell --skip '*.yaml,*.tmpl,*.json,*.html,*.patch,go.sum' -w
And rejecting some false positives fixes:
./CHANGELOG.md:907: fliter ==> filter
./third_party/go9p/clnt_write.go:48: Writen ==> Written
./third_party/kubeadm/app/features/features.go:69: AtLeast ==> at least
./site/content/en/docs/contrib/translations.md:106: certificats ==> certificates
./site/content/en/docs/contrib/translations.md:113: espace ==> escape
./site/content/en/docs/tutorials/amd.md:75: HSA ==> HAS
./site/content/en/docs/tutorials/amd.md:87: HSA ==> HAS
./pkg/minikube/config/extra_options_test.go:143: expRes ==> express
./pkg/minikube/config/extra_options_test.go:151: expRes ==> express
./pkg/minikube/config/extra_options_test.go:152: expRes ==> express
./pkg/minikube/config/extra_options_test.go:168: expRes ==> express
./pkg/minikube/config/extra_options_test.go:177: expRes ==> express
./pkg/minikube/config/extra_options_test.go:178: expRes ==> express
There are more spelling errors that need manual selection:
./CHANGELOG.md:234: issuse ==> issue, issues
./CHANGELOG.md:543: Pris ==> Prise, Prism
./hack/benchmark/time-to-k8s/page.go:73: readin ==> reading, read in
./hack/benchmark/image-build/generate-chart.go:82: INTERATIVE ==> INTERACTIVE, ITERATIVE
./hack/benchmark/image-build/generate-chart.go:87: INTERATIVE ==> INTERACTIVE, ITERATIVE
./hack/benchmark/image-build/generate-chart.go:137: INTERATIVE ==> INTERACTIVE, ITERATIVE
./hack/benchmark/image-build/generate-chart.go:162: interative ==> interactive, iterative
./hack/benchmark/image-build/generate-chart.go:195: INTERATIVE ==> INTERACTIVE, ITERATIVE
./third_party/go9p/fmt.go:132: Tread ==> Thread, Treat
./third_party/go9p/fmt.go:133: Tread ==> Thread, Treat
./third_party/go9p/p9.go:33: Tread ==> Thread, Treat
./third_party/go9p/p9.go:170: Tread ==> Thread, Treat
./third_party/go9p/p9.go:171: Tread ==> Thread, Treat
./third_party/go9p/p9.go:225: Tread ==> Thread, Treat
./third_party/go9p/p9.go:263: Tread ==> Thread, Treat
./third_party/go9p/packt.go:165: Tread ==> Thread, Treat
./third_party/go9p/packt.go:168: Tread ==> Thread, Treat
./third_party/go9p/srv_srv.go:305: Tread ==> Thread, Treat
./third_party/go9p/srv_srv.go:349: Tread ==> Thread, Treat
./third_party/go9p/unpack.go:170: Tread ==> Thread, Treat
./site/content/en/docs/tutorials/multi_control_plane_ha_clusters.md:145: Virual ==> Virtual, Visual, Viral
./pkg/drivers/krunkit/krunkit.go:392: Terminte ==> Terminate, Termite
./pkg/drivers/common/common.go:283: drawin ==> drawing, draw in, drawn
./pkg/drivers/kic/oci/oci.go:175: stroed ==> stored, stroked, strode
./pkg/minikube/out/out.go:412: isT ==> is, it, its, it's, sit, list
./pkg/minikube/out/out.go:413: isT ==> is, it, its, it's, sit, list
./pkg/minikube/out/out.go:414: isT ==> is, it, its, it's, sit, list
./pkg/minikube/shell/shell_test.go:152: writed ==> wrote, written, write, writer
./pkg/minikube/bootstrapper/kubeadm/kubeadm.go:710: wil ==> will, well
If we find a way to prevent the false positives we can use this command
for spell checking in the CI.
[1] https://github.com/codespell-project/codespell