Commit Graph

25968 Commits (dependabot/go_modules/github.com/spf13/pflag-1.0.7)

Author SHA1 Message Date
dependabot[bot] 6d49d65e37
Build(deps): Bump github.com/spf13/pflag from 1.0.6 to 1.0.7
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7)

---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
  dependency-version: 1.0.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 00:51:24 +00:00
Nir Soffer a82e25af0e
start: Simpler and safer mount on start (#21250)
The --mount-string argument defaults to `/Users` on darwin, and
homedir.Homedir() on other platforms (e.g. $HOME on unix).

This is wrong in many ways:

- `/Users` is not HOME on darwin (the right path is `/Users/$USER`).
  Using the default mount we cannot access anything inside the guest in
  the user home directory.  We can access the special `/Users/Shared`
  directory, but this should not be a default mount.

- Mounting the user home directory inside the guest in read-write mode
  is a horrible default. This exposes the users private keys in .ssh/ to
  the guest, any sensitive files in the user home directory, and allows
  the guest to change any file on the host.

- Using the `--mount` option mount the default mount directory silently.
  This is unexpected, surprising, and not documented in the minikube
  handbook[1].

Example access to user private key from the guest with the default
mount:

    $ minikube start --mount

    $ minikube ssh cat /minikube-host/.ssh/id_ed25519
    -----BEGIN OPENSSH PRIVATE KEY-----
    ...
    -----END OPENSSH PRIVATE KEY-----

Fixed by removing the default mount directory and changing mount logic
to check for non-empty mount-string instead of the mount flag.

The mount flag is kept for backward compatibility, but its value is
ignored. In the next release we want to use this flag for supporting
multiple mounts.

Example usage before:

    minikube start --mount --mount-string ~/models:/mnt/models

Example usage after:

    minikube start --mount-string ~/models:/mnt/models

Breaking changes:

User depending the default mount will have to replace the command:

    minikube start --mount

With:

    minikube start  --mount-string $HOME:/minikube-host

[1] https://minikube.sigs.k8s.io/docs/handbook/mount/
2025-08-11 11:38:58 -07:00
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
Medya Ghazizadeh bcf69bf6f0
ci: add qemu functional test to github action on macos13 (#21274)
* add qemu functional test to github action on macos13

* remove memory arg

* add higher wait time for qemu and nested in integration test for pvc

* higher mins for qemu/vfkit nested

* use maxwait

* add same workflow for master jobs

* bump wait
2025-08-10 12:50:01 -07:00
minikube-bot eeecb12130
CNI: Update flannel from v0.27.0 to v0.27.2 (#21230) 2025-08-09 15:37:42 -07:00
VerlorenerReisender d0a21be532
improve docker service reliability, update docker systemd files (#21174)
* docker: update template for docker.service

* wait for docker

* fix unit test
2025-08-09 14:49:55 -07:00
Laxman Gupta c432003f04
Enable version checking for previously unsupported components (#21265)
Add special case handlers in get_version.go for components that require
non-standard version extraction methods:

- docsy: Extract git submodule commit hash
- kubernetes: Read DefaultKubernetesVersion from constants
- kubeadm-constants: Parse latest version from kubeadm images map
- kubernetes-versions-list: Count and summarize supported versions
- site-node: Use existing node version extraction from netlify.toml

Remove all entries from noVersionCheck map in update_all.go to enable
before/after version comparison for these components.

This allows 'DEP=component make get-dependency-version' commands to work
for all components, improving the auto-updater workflow.
2025-08-09 00:13:10 -07:00
Nir Soffer 5d4d03623b
drivers: Extract drivers/common package (#21266)
Move all files and packages which are not a driver to the drivers/common
package. This helps to understand the structure of the code.

While moving, move the iso_test.iso into testdata/test.iso to separate
code and test data.

While fixing the test iso path fix few bugs in the tests using wrong iso
path. The test failed because the iso path was wrong instead of issue
with source or destination path.

New directory structure:

    % tree -L1 pkg/drivers
    pkg/drivers
    ├── common
    ├── hyperkit
    ├── kic
    ├── krunkit
    ├── kvm
    ├── none
    ├── qemu
    ├── ssh
    └── vfkit
2025-08-08 22:50:57 -07:00
Nir Soffer 78fc8d96d1
gitignore: Ignore also .zed directory (#21270)
Like other editor files this allow local configuration without polluting
the source with specific editor configuration.
2025-08-08 22:49:59 -07:00
Nir Soffer 6b397d8285
gitignore: Ignore test/integration/licenses (#21267)
Running the function tests creates a licenses directory and checks out
the "github.com/hooklift/iso9660" module, which imports
"github.com/c4milo/gotoolkit".

    % git status
    ...

    Untracked files:
      (use "git add <file>..." to include in what will be committed)
            test/integration/licenses/

At this point running go mod tidy will add the gotoolkit module:

    % go mod tidy --diff
    diff current/go.mod tidy/go.mod
    --- current/go.mod
    +++ tidy/go.mod
    @@ -13,6 +13,7 @@
            github.com/Xuanwo/go-locale v1.1.3
            github.com/blang/semver/v4 v4.0.0
            github.com/briandowns/spinner v1.23.2
    +	    github.com/c4milo/gotoolkit v0.0.0-20190525173301-67483a18c17a
            github.com/cenkalti/backoff/v4 v4.3.0
            github.com/cheggaaa/pb/v3 v3.1.7
            github.com/cloudevents/sdk-go/v2 v2.16.0
    ...

"github.com/hooklift/iso9660" does not have a go.mod file, so `go mod
tidy` treats is as part of the main module and update go.mod.

We should find a better place to check out the licenses, maybe a test
temporary directory, but let's start with quick fix: ignore the license
directory, and include it in `make clean`.
2025-08-08 18:01:51 -07:00
Medya Ghazizadeh 6b0b64e1db
UI: do not show "create github issue" twice if kubeadm init fails (#21263)
* do not show github issue in exist twice if kubeadm

* Reset the flag for each test case
2025-08-08 17:59:03 -07:00
minikube-bot c4a2e11710
Update auto-generated docs and translations (#21260) 2025-08-07 14:38:25 -07:00
Aaron Nall fc70407316
Add support to docker runtime for OCI access to NVIDIA GPUs (#20959)
* Add support for --device=nvidia.com/gpu=all

* Add "nvidia.com" to valid options for gpus flag in TestValidateGPUs.
2025-08-07 11:23:31 -07:00
James World f4dd7b4fbf
Fix minikube load on windows (#20529) (#20921)
getWindowsVolumeNameCmd uses the deprecated wmic.exe.

See https://learn.microsoft.com/en-us/windows/win32/wmisdk/wmic for
details.

Replace the implementation with a call to the Powershell equivalent.

Look in path and system environment vars to locate Powershell.

Improve Powershell discovery
2025-08-07 11:21:38 -07:00
minikube-bot 28c84c7596
Kicbase/ISO: Update docker from 28.3.2 to 28.3.3 (#21248)
* Kicbase/ISO: Update docker from 28.3.2 to 28.3.3

* Updating kicbase image to v0.0.47-1754427148-21248
2025-08-06 12:03:12 -07:00
Medya Ghazizadeh 95d4cfe1a0
Refactor spinner library & hide sub steps after spinning (#21215)
* remove omitnew line

* add new option to hide after spin

* refactor to use new return hideAfterSpin

* add new line by default only when not spinining and delegate spinner newline to spinner code

* add new func for ouptputing with spinner and pass fdwriter directly to the spininer func

* fix unit test

* fix lint for krunkit

* add comment and context

* use different spinning progress bar for sub steps

* make func private

* making more spinning icons

* integration test dont expect sub steps to be visible

* fix unit test and comment why

* change sub step spining icon not to be a progressbar

* pass the filewriter to the spinner library for the spinning steps
2025-08-05 11:09:33 -07:00
Medya Ghazizadeh 0edde17b02
add site_node_version to not supported before after version (#21247) 2025-08-05 11:05:16 -07:00
Medya Ghazizadeh 88e84ff2e8
CI: remove not needed replaces in gomod and add automation (#21212)
* remove un-needed gomod replaces

* add a make target gomodtidy

* update docs on using gomodtidy

* add automation to run go mod tidy on every push

* update contributing docs to be more helpful

* install gopogh if it is not installed in html_report

* addres PR reviews

* update docs headings
2025-08-05 10:17:02 -07:00
Medya Ghazizadeh c0e46ff8cd
ci: update all with go (#21213)
* add update all go script

* add update all make target

* add update all make target

* standardize the component name for look up

* standardize amd amd component name

* rename all hack update go code to match component name to standardize

* delete extra folder

* update makefile with new standard filenames

* update component name amd

* fix amd gpu name

* skip amd for now till broken

* fix cilium helm update

* standard name for cloud spanner emulator

* standard crio name

* set max to 100

* delete old folder

* skip docsy for update all

* return error if fail to apply

* docsy versoin

* update files with go-github

* update file names

* move all make targets to same location

* standard name for golang comp

* skip istio addon

* skip kicbase version since it is not related

* skip kubeadm constant too

* skip kubernetes version too

* run components that dont support before/after

* update kubeadm constant

* skip kubeadm constant on non linux

* add kubernetes_versions_list to not support before/after

* list preload version as one of the internal jobs

* list preload version as one of the internal jobs

* simpllify the code

* use log for printing

* add boiler plates

* add gh workflow
2025-08-04 18:15:23 -07:00
minikube-bot 7ce514291e
Addon ingress: Update ingress-nginx/controller image from v1.12.3 to v1.13.0 (#21232) 2025-08-04 17:42:54 -07:00
minikube-bot 19613ca41b
update image constants for kubeadm images (#21221) 2025-08-04 16:53:54 -07:00
minikube-bot 08b1211ee4
CNI: Update cilium from v1.17.5 to v1.18.0 (#21226) 2025-08-04 16:53:35 -07:00
minikube-bot 0569f1bb66
update Kubernetes versions list (#21222) 2025-08-04 16:51:39 -07:00
minikube-bot 27e44deb9a
Addon inspektor-gadget: Update inspektor-gadget image from v0.42.0 to v0.43.0 (#21240) 2025-08-04 16:51:17 -07:00
minikube-bot e400496211
Addon kong: Update kong image from 3.9.1 to 3.9.1 (#21229) 2025-08-04 16:44:19 -07:00
minikube-bot 6583bf44f1
Addon nvidia-device-plugin: Update nvidia/k8s-device-plugin image from v0.17.2 to v0.17.3 (#21225) 2025-08-04 16:42:47 -07:00
minikube-bot 04a22388c1
CI: Update gh from 2.74.2 to 2.76.2 (#21227) 2025-08-04 16:42:19 -07:00
minikube-bot ba11da9066
HA (multi-control plane): Update kube-vip from v0.9.2 to v1.0.0 (#21228) 2025-08-04 16:42:01 -07:00
minikube-bot dd083efd83
Kicbase: Bump ubuntu:jammy from 20250415.1 to 20250714 (#21233)
* Kicbase: Bump ubuntu:jammy from 20250415.1 to 20250714

* Updating kicbase image to v0.0.47-1754302052-21233
2025-08-04 16:41:10 -07:00
minikube-bot ef570374d9
Addon Headlamp: Update Headlamp image from v0.28.0 to v0.34.0 (#21238) 2025-08-04 16:40:51 -07:00
minikube-bot cbcc66f84f
Update go-github from v73.0.0 to v74.0.0 (#21234) 2025-08-04 12:36:45 -07:00
minikube-bot ba415bdab0
Addon kubevirt: Update bitnami/kubectl image from 1.33.1 to 1.33.3 (#21235) 2025-08-04 12:36:22 -07:00
minikube-bot 4ba70996a5
Site: Update hugo from v0.147.9 to v0.148.2 (#21236) 2025-08-04 12:35:54 -07:00
minikube-bot 2cdb02ab88
Addon registry: Update registry image from 3.0.0 to 3.0.0 (#21242) 2025-08-04 12:34:48 -07:00
minikube-bot 17975c7030
Addon cloud-spanner: Update cloud-spanner-emulator/emulator image from 1.5.37 to 1.5.38 (#21243) 2025-08-04 11:04:11 -07:00
Medya Ghazizadeh f18c9dc91b
ci: skip boilerplate for git submodules (#21214)
* skip submodules for boilerplate

* restore

* add git module subfolders
2025-08-01 21:18:17 -07:00
minikube-bot 67329baf6d
Update yearly leaderboard (#21216) 2025-08-01 20:10:20 -07:00
Medya Ghazizadeh 931291170f
license: don't fail if output dir doesn't exist & download from github assets first (#21206)
* copy licenses to gh assests as well

* download licneses from github

* try head first to make code more simple

* remove debug

* fix extra dash

* create license directory if doesnt exist

* Apply suggestion from prezha

* Apply suggestion from prezha

* Apply suggestion from prezha

* Apply suggestion from prezha
2025-08-01 20:02:13 -07:00
Divy Singhvi 45e708b6e2
Updated site/readme.md outdated documentation (#21209) 2025-07-31 11:13:47 -07:00
Medya Ghazizadeh 3f7242fa2e
remove license binary from git repo (#21204) 2025-07-30 13:35:05 -07:00
minikube-bot 0afbdc5371
Kicbase/ISO: Update crun from 1.19 to 1.23 (#21198)
* Kicbase/ISO: Update crun from 1.19 to 1.23

* Updating kicbase image to v0.0.47-1753871403-21198
2025-07-30 13:12:07 -07:00
Medya Ghazizadeh a79b35cd23
add site public to git ignore (#21203) 2025-07-30 12:27:01 -07:00
minikube-bot 8400e87c61
Update auto-generated docs and translations (#21202) 2025-07-30 12:04:29 -07:00
Jun Sugimoto 14dfcee1ab
Add --disable-coredns-log flag (#20992) 2025-07-30 11:52:57 -07:00
Medya Ghazizadeh 49d0fa4e1b
ci: use authenticated github when possible (#21189)
* hack update to use github token if available

* automate go mod tidy for both

* add ghc client for k8s vers list
2025-07-30 11:40:08 -07:00
Joaquim Rocha 4803425479
Update Headlamp's workflow go version (#21136)
Signed-off-by: Joaquim Rocha <joaquim.rocha@microsoft.com>
2025-07-29 14:07:29 -07:00
Nir Soffer fbf257d1b5
hack: Rename module to k8s.io/minikube/hack (#21141)
Just because it is the expected name.
2025-07-28 17:40:26 -07:00
Medya Ghazizadeh e6628b90ed
gomod: remove replace for k8s.io/cluster-bootstrap (#21187) 2025-07-28 17:21:44 -07:00
minikube-bot a73390ae02
site: Update node from 20.19.3 to 20.19.4 (#21184) 2025-07-28 14:49:57 -07:00
Medya Ghazizadeh 94ffbcb9de
get dep version fix (#21182) 2025-07-28 14:44:25 -07:00