Commit Graph

26462 Commits (ae87c281a8e7fc2b75b51b9613ab89640fed3216)

Author SHA1 Message Date
Medya Ghazizadeh ea1e357057 rename test variables 2025-09-29 11:55:04 -07:00
minikube-bot d64bac8155 CI: Update gotestsum from v1.12.3 to v1.13.0 2025-09-29 10:09:33 +00:00
minikube-bot 666c3351e3 Addon kong: Update kong/kubernetes-ingress-controller image from 3.5.1 to 3.5.2 2025-09-29 10:02:50 +00:00
minikube-bot 8fdbaae537 Addon Volcano: Update volcano images from v1.12.2 to v1.13.0 2025-09-29 10:02:41 +00:00
minikube-bot f8e9633848 CNI: Update cilium from v1.18.1 to v1.18.2 2025-09-29 10:02:40 +00:00
minikube-bot 721fb778ab CI: Update gh from 2.78.0 to 2.80.0 2025-09-29 10:02:27 +00:00
minikube-bot b9467c4b05 Addon nvidia-device-plugin: Update nvidia/k8s-device-plugin image from v0.17.3 to v0.17.4 2025-09-29 10:01:03 +00:00
minikube-bot b4d3c15aba bump default/newest kubernetes versions 2025-09-29 08:05:19 +00:00
minikube-bot fe60c633c6 update Kubernetes versions list 2025-09-29 06:07:02 +00:00
minikube-bot 3679e0917d update image constants for kubeadm images 2025-09-29 06:01:33 +00:00
Nir Soffer 853e22b0fe docs: Improve testing docs
- Simplify the example commands to pass TEST_ARGS as a command line
  variable. Variables are pass to the target shell as environment
  variable.
- Show an example with 2 minikube start args with correct quoting.
- Add a note about quoting multiple minikube start arguments
- Add a note about values with spaces
- Fix headings levels for conformance tests
2025-09-27 22:54:20 +03:00
Medya Ghazizadeh fc3092e96b add unit test 2025-09-26 15:28:04 -07:00
Medya Ghazizadeh 849e44a2e3 fix: correct variable name for GitHub client in ReleaseAssets function 2025-09-26 15:24:07 -07:00
Medya Ghazizadeh 14b81faeac move test to bsutil package and refactor the test to use tmp 2025-09-26 15:06:36 -07:00
Medya Ghazizadeh fe5b5ab7cd refactor: replace CopyBinary function with a new implementation in bsutil and remove from machine package to avoid "import cycle not allowed" lint error 2025-09-26 15:04:17 -07:00
Medya Ghazizadeh 3343d78d65 remove obsolete comment 2025-09-26 14:49:50 -07:00
Medya Ghazizadeh 9852070fa1 use kubeadmHelper in cert phase too 2025-09-26 14:34:48 -07:00
Medya Ghazizadeh 94c110f08f use kubeadmcmd helper in addon phase too 2025-09-26 14:33:59 -07:00
Medya Ghazizadeh 4f29ed6cd9
Merge pull request #20370 from nixpanic/issue/20369
remove unmaintained storage-provisioner-gluster addon
2025-09-26 13:36:28 -07:00
Medya Ghazizadeh dfb4f364ff
Merge pull request #21544 from medyagh/iso_fail_comment_fix
ci: fix failed ISO not commenting on PR
2025-09-26 12:56:22 -07:00
Medya Ghazizadeh 2b43c5960f make binRoot private again 2025-09-26 12:50:12 -07:00
Medya Ghazizadeh c6ebbd5736 move sudo before bash -c everywhere we invoke kubeadms to ensure gets the correct path 2025-09-26 12:47:47 -07:00
Medya Ghazizadeh a7417989c5 bootstrapper: rename func to KubeadmCmdWithPath 2025-09-26 12:47:14 -07:00
Medya Ghazizadeh 8feb446c26 use temp dir as minikube home in preload unit test 2025-09-26 11:57:42 -07:00
Nir Soffer 5fa27d0eb7 vmnet: Skip validation in download-only mode
In this mode we don't start anything so we don't need to validate
vmnet-helper. This avoids unwanted interaction if the user does not have
sudoers configuration.

Test with vfkit:

    % out/minikube start --driver vfkit --network vmnet-shared --download-only
    😄  minikube v1.37.0 on Darwin 15.7 (arm64)
      Using the vfkit driver based on user configuration
    👍  Starting "minikube" primary control-plane node in "minikube" cluster
      Download complete!

    % out/minikube logs | grep vmnet-helper
    I0925 16:52:08.601139   78267 main.go:141] libmachine: Skipping vmnet-helper validation in download-only mode

Test with krunkit:

    % out/minikube start --driver krunkit --download-only
    😄  minikube v1.37.0 on Darwin 15.7 (arm64)
      Using the krunkit (experimental) driver based on user configuration
    👍  Starting "minikube" primary control-plane node in "minikube" cluster
      Download complete!

    % out/minikube logs | grep vmnet-helper
    I0925 16:52:49.570566   78405 main.go:141] libmachine: Skipping vmnet-helper validation in download-only mode
2025-09-25 16:56:03 +03:00
Medya Ghazizadeh 00a8d9ec41 dont read all tarball in integration test 2025-09-24 17:18:15 -07:00
Medya Ghazizadeh b850c8c922 fix unit test 2025-09-24 16:59:10 -07:00
Medya Ghazizadeh 421f1e1435 remove PreloadChecksumMismatch since it is handeled by go-getter lib 2025-09-24 16:38:58 -07:00
Medya Ghazizadeh 3f7609f5b3 add boilerplate to new package 2025-09-24 16:36:13 -07:00
Medya Ghazizadeh 750abe74cf dont panic for unit test 2025-09-24 16:34:38 -07:00
Medya Ghazizadeh 1e232f04e0 lint 2025-09-24 16:26:54 -07:00
Medya Ghazizadeh d4b8f90dee add logs 2025-09-24 16:23:13 -07:00
Medya Ghazizadeh d8b2f41e6e add sha implemention for github 2025-09-24 15:58:04 -07:00
Medya Ghazizadeh 61134edecb return byte for sha 2025-09-24 15:57:54 -07:00
Medya Ghazizadeh e00f07219e remove manual verifying checksum since it is already handeled by go-getter lib 2025-09-24 15:26:10 -07:00
Medya Ghazizadeh b4d51e9b4d shorter if statement 2025-09-24 14:21:14 -07:00
Medya Ghazizadeh ff6b98be2c panic if no preload source 2025-09-24 14:20:20 -07:00
Medya Ghazizadeh a76f8ad95f simplify if stateent 2025-09-24 14:15:59 -07:00
Medya Ghazizadeh 4b03e98163 add a new package to handle github assets 2025-09-24 14:09:56 -07:00
Medya Ghazizadeh 71227b25cd
Merge pull request #21624 from Andygol/ukr-locale
UI: Added Ukrainian language translation
2025-09-23 14:06:46 -07:00
Andrii Holovin 24a1d8ab26 Fixes after make test 2025-09-23 23:20:13 +03:00
Andrii Holovin df623d85f1 added Ukrainian locale 2025-09-23 21:27:09 +03:00
Nir Soffer f55921570e bootstraper: Fix kubeadm init PATH on Debian 12
Previously we ran:

    bash -c 'sudo env PATH="/path/to/minikube/binaries:$PATH" kubeadm init ...'

The shell expanding $PATH is running as a normal user, which does not
include /usr/sbin:

    $ out/minikube ssh -- printenv PATH
    /usr/local/bin:/usr/bin:/bin:/usr/games

This breaks kubeadm since it expects to find losetup in the PATH[1].

Now we run:

    sudo bash -c 'env PATH="/path/to/minikube/binaries:$PATH" kubeadm init ...'

The shell expanding $PATH is running as root, so it uses root PATH that
includes /usr/sbin:

    $ out/minikube ssh -- sudo printenv PATH
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

With this change kubeadm init can find losetup in the PATH, and creating
a clusters succeeds.

More work is needed to fix other invocations of kubeadm.

[1] https://github.com/kubernetes/kubernetes/pull/129450
2025-09-23 20:59:29 +03:00
Henry Chen 05b680bec5 Add vfkit and krunkit options in ISSUE_TEMPLATE (#21604) 2025-09-24 00:58:24 +08:00
Nir Soffer 199766c34e bootstrapper: Export bsutil.binRoot
We want to use it to build kubeadm command in other packages.
2025-09-23 04:36:11 +03:00
Medya Ghazizadeh 95b413f848 add comments for unit test 2025-09-20 13:21:36 -07:00
Medya Ghazizadeh 692a0abbf2 fix unit test 2025-09-20 13:19:00 -07:00
Medya Ghazizadeh b53aade454 update Preload func to use new implemnetations 2025-09-20 12:48:16 -07:00
Medya Ghazizadeh c74f9dca96 add github as fail over to gcs in preload check for minikube 2025-09-20 12:37:40 -07:00
Medya Ghazizadeh b733b8dc29 add exported funcs to check existance of preload to be called by outside minikube 2025-09-20 12:30:36 -07:00