Commit Graph

223 Commits (dependabot/go_modules/k8s.io/cluster-bootstrap-0.34.1)

Author SHA1 Message Date
Nir Soffer 62529ec03e
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
2025-08-11 11:27:20 -07:00
Predrag Rogic 4da3cedc84
Fix KVM driver (tests) timeouts (#20852)
* Fix KVM driver tests timeouts

Rewrite KVM driver waiting logic for domain start, getting ip address
and shutting domain down. Add more config/state outputs to aid future
debugging.

Bump go/libvirt to v1.11002.0 and set the minimum memory required for
running all tests to 3GB to avoid some really weird system behaviour.

* revert reduction of timelimit for TestCert tests run

* set memory and debug output in TestNoKubernetes tests

* extend kvm waitForStaticIP timeout

* add console log to debug output

* Updating ISO to v1.36.0-1748823857-20852

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-06-03 15:07:48 -07:00
Sri Panyam 7b97f424c7
New flag to allow option for passing a config file for addon configure command. (#20255)
* Addon configuration now takes an optional config file to load from
instead of forcing prompts

Fixes #20124

* Using a rarer value for default instead of changeme so it has less chance to interfere with other possible user defaults

* Fixing expected values of test cases

* making addonConfigFile private

* Keeping registry_creds configs together.

* Starting a typed AddonConfig struct so each addon con loads its
  configs in a typed way.
* Started configs for RegistryCreds using this convention and moved
  registry_creds config processing to its own file
  (configure_registry_creds.go)

* Making registry creds structs private and other PR feedback cleanups

* Changing default value back to 'changeme'

* Simplifying duplicate consts

* Adding missed comma

* lint fixes

* Generating docs

* Copyright for new file
2025-05-13 11:05:48 -07:00
Steven Powell b578d678a1
testing: Fix GCP-Auth addon test showing as success or skipped (#19803) 2024-10-16 11:13:19 -07:00
fbyrne 50b5d8ee62 Add support for AMD GPU via --gpu=amd for docker linux amd64. 2024-10-11 21:36:06 +01:00
Steven Powell a220f0e4f0
testing: Add more addon test disable defers (#19744) 2024-10-09 11:26:27 -07:00
Steven Powell 746051d437
testing: Move bulk of GCP-Auth addon test into subtest (#19716) 2024-10-02 10:29:30 -07:00
Steven Powell b623c21174
testing: Add defer to disable addon to start of each addon test (#19715)
* testing: Add defer to disable addon to start of each addon test

* only start storage-provisioner-rancher for non-none drivers
2024-10-01 10:43:23 -07:00
Tyler Auerbeck f4ded199f0
remove tiller addon (#19636)
Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
Co-authored-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
2024-09-19 11:21:24 -07:00
Steven Powell 52b683a16a testing: Fix volcano addon failing other addons 2024-07-25 10:10:03 -07:00
Steven Powell a90d01cfe6 fix checking for replica controller 2024-07-16 18:02:49 -05:00
锦南路之花 1a176c398e fix: fix failed test when updating volcano 2024-06-16 18:33:21 +02:00
锦南路之花 3e10cfc387 addon: add auto updater for volcano addon 2024-05-22 11:44:06 -07:00
锦南路之花 d67dfb3d0a addon: add addon for volcano 2024-05-22 11:44:06 -07:00
Marc Nuri 1ae179d9d6
test: yakd enabled in addons IT setup phase 2023-12-13 17:16:16 +01:00
Marc Nuri 0078ccddd6
feat: add yakd addon
Add an addon for automatically setting up [YAKD (Yet Another Kubernetes Dashboard)](https://github.com/manusa/yakd)

This is an alternative Kubernetes Dashboard with special support for Minikube, OpenShift, and other flavors of Kubernetes.

It was originally started as an example project for [YAKC (Yet Another Kubernetes Client)](https://github.com/manusa/yakc) but it was recently spun off as a separate project.

Regarding Minikube, it offers specific functionality such as cluster detection, support for opening NodePort services from the interface, and more.
2023-12-12 19:36:37 +01:00
Steven Powell 22046cd4a0 add missing label selector 2023-10-05 17:18:30 -07:00
Steven Powell 1af615dd55 increase test timeout 2023-10-05 17:18:30 -07:00
Steven Powell d07ff48d5a add nvidia-device-plugin test 2023-10-05 17:18:30 -07:00
Steven Powell 8c806400eb fix checkout output 2023-10-03 09:29:07 -07:00
Steven Powell b0c4458781 fix test name 2023-09-29 13:07:25 -07:00
Steven Powell e57a3f8718 Fix enabling & disabling addons with non-existing cluster 2023-09-29 13:03:13 -07:00
Piotr Resztak a51423df67 Add integration test for storage-provisioner-rancher addon 2023-09-23 17:41:14 +02:00
Steven Powell 3631db33a2
Merge pull request #16069 from spowelljr/updateUbuntu22
Kicbase: Update base image to Ubuntu 22.04
2023-05-17 11:13:06 -07:00
Steven Powell 2dff834f92 added docker.io to all Docker Hub images that didn't have it 2023-05-12 09:44:24 -07:00
Steven Powell d6c37ee3ba
Merge pull request #15869 from yolossn/addon_inspektor_gadget
Addon: add inspektor-gadget
2023-05-11 18:20:45 -07:00
yolossn c6878c4733 Addon: add inspektor-gadget
Signed-off-by: yolossn <sannagaraj@microsoft.com>
2023-05-11 15:24:34 +05:30
Steven Powell b296ae8c47
Merge pull request #16139 from kadern0/issue-15432
Fix: check if addon is enabled before doing validation
2023-03-27 14:42:07 -07:00
Predrag Rogic 082943b5e3
don't panic on pre-release k8s version 2023-03-26 00:13:11 +00:00
Pablo Caderno 5c261e80e9 Fix: check if addon is enabled before doing validation
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2023-03-24 09:15:30 +11:00
Predrag Rogic f040f00199
tweak tests 2023-01-05 00:52:57 +00:00
Predrag Rogic 818a7d9b33
fix remaining tests and ready for k8s-1.26.0 2023-01-04 21:02:48 +00:00
Predrag Rogic 1274f31179
fix TestBinaryUpgrade on Docker_Linux_containerd and skip GCPAuth on GCE 2022-12-28 19:47:34 +00:00
Predrag Rogic fd549f396d
fix default cni selection for cri-docker(d) 2022-12-28 00:51:45 +00:00
Predrag Rogic f3b3d4e07c
try to fix couple of more things 2022-12-27 04:27:48 +00:00
Ian Stewart a6bfa55152 Using t.Setenv instead of os.Setenv 2022-12-09 14:12:13 -05:00
Ian Stewart b76d247f12 added MOCK_GOOGLE_TOKEN env var 2022-12-07 18:05:31 -05:00
Ian Stewart a2ba24f1d6 returning gcp-auth container logs if namespace test fails to help debugging 2022-12-05 11:34:40 -05:00
Ian Stewart 2c3ab40370 increased wait time for getting namespace secret 2022-12-02 12:09:23 -05:00
Ian Stewart d2a94988ee retry getting the gcp-auth secret for 10 seconds 2022-12-01 17:42:38 -05:00
Ian Stewart 2b93c08c5a wrapped gcp-auth namespaces test as a subtest 2022-12-01 17:24:41 -05:00
Ian Stewart bec22f0e12 added integration test to ensure new namespaces include the image pull secret 2022-11-30 18:50:32 -05:00
Steven Powell e4b7598fd8 fix linting 2022-10-26 10:33:15 -07:00
Steven Powell 3536f0fb39 add integration test for cloud-spanner addon 2022-10-26 10:27:47 -07:00
Sharif Elgamal 4bc3d98bb6 use MustCompile for lint 2022-06-21 13:53:02 -07:00
Sharif Elgamal 2ee63b4b1e add a test for image pull secrets for gcp-auth 2022-06-21 13:39:50 -07:00
Santhosh Nagaraj S 26afc8f85c Addon: add headlamp
Signed-off-by: Santhosh Nagaraj S <santhosh@kinvolk.io>
2022-06-16 10:34:18 +05:30
Sharif Elgamal d36ed5aa78 remove inaccel addons test 2022-06-10 12:06:57 -07:00
Elias Koromilas 6364518066 Add inaccel/fpga-operator addon
Signed-off-by: Elias Koromilas <elias.koromilas@gmail.com>
2022-05-26 10:52:08 +03:00
Steven Powell 1aa1f04e9b remove old build tags 2022-03-30 16:43:29 -07:00