Commit Graph

282 Commits (dependabot/go_modules/golang.org/x/term-0.35.0)

Author SHA1 Message Date
Predrag Rogic 81b4fc9488
remove deprecated proxy-refresh-interval v2 etcd flag (#21278) 2025-08-12 01:53:41 -07:00
Predrag Rogic 9b7d982838
fix: update kubeadm images (#21277) 2025-08-12 01:51:33 -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
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
Medya Ghazizadeh 0edde17b02
add site_node_version to not supported before after version (#21247) 2025-08-05 11:05:16 -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 cbcc66f84f
Update go-github from v73.0.0 to v74.0.0 (#21234) 2025-08-04 12:36:45 -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
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 94ffbcb9de
get dep version fix (#21182) 2025-07-28 14:44:25 -07:00
Nir Soffer 6a779426fe
hack: Replace go workspace with replace (#21094)
Using go workspace breaks iso build, and may affect the builds in
unwanted ways, bringing dependencies from the hack module into the
minikube module.

Remove the go.work file and add a replace directive to the hack module,
so it can access minikube packages from the local directory.

Some programs working directory was the source directory. With this
change all programs and scripts in the hack module are run from the
hack directory. Paths updated to the programs can find files in the
minikube root directory.

Some updaters and benchmarks are broken in master and are still broken
with this change.

These updates fail to pull non-existing images:
- make update-istio-operator-version
- make update-amd-gpu-device-plugin-version

These try to install try to install in /usr/local/bin with sudo and
neede rewrite:
- make cpu-benchmark-idle
- make cpu-benchmark-autopause
- make time-to-k8s-benchmark
2025-07-25 15:33:44 -07:00
Medya Ghazizadeh 6d92b2208f
separate go mod for hack folder (#21060)
* separate go mod for hack folder and use go work

* remove dependecy on k8s.minikube inside hack

* remove gowork files
2025-07-13 14:37:20 -07:00
Joaquim Rocha 49d6e371a4
CI: Auto update Headlamp image (#20372)
Signed-off-by: Joaquim Rocha <joaquim.rocha@microsoft.com>
2025-07-07 13:01:53 -07:00
minikube-bot 4b06829b8b
Update go-github from v72.0.0 to v73.0.0 (#21000) 2025-06-30 10:55:33 -07:00
Tian 3cf1e63e21
build: address all lint issues by v2 (#20804)
* fix QF1011: could omit type *os.File from declaration; it will be inferred from the right-hand side

* fix QF1012: Use fmt.Fprintf(x, ...) instead of x.Write(fmt.Sprintf(...))

* fix QF1001: could apply De Morgan's law

* fix QF1003: could use tagged switch

* fix weakCond: suspicious ; nil check may not be enough, check for len (gocritic)

* fix docStub: silencing go lint doc-comment warnings is unadvised

* fix builtinShadow: shadowing of predeclared identifier: error

* fix importShadow: shadow of imported package

* fix nestingReduce: invert if cond, replace body with , move old body after the statement

* useless-break: useless break in case clause (revive)

* Clear the redundant content in golangci.yaml file
2025-05-23 17:31:28 -07:00
Victor Ubahakwe 4ebec48d8b
Prevent Unnecessary Version Bumps in `go.mod` During Go Version Updates (#20781)
* Prevent Unnecessary Version Bumps in `go.mod` During Go Version Updates

This PR addresses issue #20770, where the minikube automation (triggered by make `update-golang-version`) unnecessarily bumped minor or patch versions in `go.mod` when updating the Go version. Following Kubernetes' practice, which avoids such bumps in `go.mod`, this change ensures only the go directive is updated to the stable Go version.

**Changes:**
- Added `go.mod` to the schema map in `hack/update/golang_version/update_golang_version.go` with a regex (go 1\.\d+\.\d+) to update the go directive to {{.StableVersion}} (e.g., go 1.24.2).
- This ensures the automation updates only the go directive without modifying module dependencies, aligning with Kubernetes' `go.mod` behavior.

**Impact:**
- Running make `update-golang-version` now updates the go directive (e.g., from go 1.22.3 to go 1.24.2) without unintended dependency version bumps.
- Tested by setting go 1.22.3 in go.mod, running go mod tidy and make update-golang-version, and verifying only the go directive and toolchain changed.

fixes: #20773

* Pin `go.mod` to Major.Minor Go Version (e.g., `1.24.0`)

**Description**:
Fixes #20773 by updating the automation to pin the `go` directive in `go.mod` to the major.minor Go version (e.g., `1.24.0`) instead of the full version (e.g., `1.24.2`), aligning with Kubernetes’ `go.mod`. This prevents breaking users relying on minikube packages.

**Changes**:
- Modified `hack/update/golang_version/update_golang_version.go` to compute `MajorMinor` version (e.g., `1.24.0`) from `StableVersion`.
- Updated `schema` to set `go.mod`’s `go` directive to `{{.MajorMinor}}`.
- Tested by setting `go 1.23.4`, running `make update-golang-version`, and verifying `go 1.24.0` with no dependency bumps.

**Closes**: #20773

* Reverted all 66 files to upstream master except update_golang_version.go
2025-05-20 11:03:15 -07:00
zvdy 5c85286e3d
CI: Fix cni escaping (#20769)
* fix: correct regex for yaml and sh files

* fix: remove test and revert to normal main impl.
2025-05-15 13:28:00 -07:00
zvdy 4fd7502da9
fix: reference missing files in schema (Closes #20752) (#20761)
* fix: reference missing files in schema (Closes #20752)

* fix: reference missing files in schema
2025-05-14 16:10:19 -07:00
minikube-bot bc4a5b8276
Update go-github from v71.0.0 to v72.0.0 (#20729) 2025-05-13 10:08:46 -07:00
minikube-bot a4059331a0
Update go-github from v70.0.0 to v71.0.0 (#20618) 2025-04-15 13:28:27 -07:00
minikube-bot 4d2cdae349
Update go-github from v69.2.0 to v70.0.0 (#20561) 2025-03-24 11:13:19 -07:00
minikube-bot 2c8eb82eb0 Update go-github from v68.0.0 to v69.0.0 2025-02-10 10:03:15 +00:00
minikube-bot 5a1b391fb0
Update go-github from v67.0.0 to v68.0.0 (#20174) 2024-12-30 10:24:00 -08:00
minikube-bot 89125cae14 Update go-github from v66.0.0 to v67.0.0 2024-12-02 10:03:26 +00:00
Steven Powell 3efdd75d8b
CI: Prevent auto-upgrades to ingress pre-release versions (#19899) 2024-11-01 14:45:19 -07:00
Steven Powell b514ec2966 update templates 2024-10-23 11:25:41 -07:00
Steven Powell da9b81c4ae CI: Fix automated Kubernetes version updating 2024-10-23 10:45:58 -07:00
fbyrne 2bb346f9f0 Add support for kubeadm.k8s.io/v1beta4 available since k8s v1.31 2024-10-12 17:42:09 +01: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 affdc41890
CI: Fix kube-registry-proxy PR title (#19783) 2024-10-10 09:55:34 -07:00
Steven Powell 48cd79581a
CI: Auto update inspektor-gadget YAMLs (#19717)
* CI: Auto update inspektor-gadget YAMLs

* use automation to generate new YAMLs
2024-10-09 11:31:47 -07:00
Steven Powell 30db4fd877
CI: Auto update kube-registry-proxy image (#19766) 2024-10-09 11:25:31 -07:00
minikube-bot ffb751821c Update go-github from v65.0.0 to v66.0.0 2024-10-07 10:03:02 +00:00
Predrag Rogic 3f50524844
add kube-vip to get_version 2024-09-28 19:51:14 +01:00
Predrag Rogic 48c1157c61
automate kube-vip version update 2024-09-28 19:44:42 +01:00
Steven Powell 71154cc36c
CI: Update volcano auto-updater (#19692) 2024-09-24 09:55:05 -07:00
minikube-bot 76b1f06bfd Update go-github from v64.0.0 to v65.0.0 2024-09-16 17:53:46 +00:00
minikube-bot 73f703228d Update go-github from v63.0.0 to v64.0.0 2024-08-21 17:07:09 +00:00
Steven Powell 2f3c844330 ISO: Add docker-buildx 2024-07-19 09:14:12 -05:00
minikube-bot 729691927e Update go-github from v62.0.0 to v63.0.0 2024-07-15 10:03:03 +00:00
Steven Powell f2e0dc17dd CI: Auto update volcano addon YAML 2024-07-02 11:35:36 -05:00
Steven Powell 5ae6b21056 CI: Auto update yakd addon image 2024-06-27 09:51:11 -07:00
锦南路之花 3e10cfc387 addon: add auto updater for volcano addon 2024-05-22 11:44:06 -07:00
minikube-bot 4b121eb6b9 Update go-github from v61.0.0 to v62.0.0 2024-05-13 10:03:10 +00:00
Steven Powell acd208576f since no longer in backticks, can remove replacing backticks 2024-05-10 15:50:26 -07:00
Steven Powell c213f42e5f downgrade cilium to 1.15.3 due to regression in 1.15.4 2024-05-10 15:37:15 -07:00
Steven Powell c1b68a90e7 remove stableMM from goVersions return 2024-05-07 08:52:36 -07:00
Steven Powell 904d97fd1a remove orphaned usage of stableMM 2024-05-07 08:52:36 -07:00
Steven Powell c8f6f1e449 remove StableVersionMM 2024-05-07 08:52:36 -07:00
Steven Powell 7f64b6e6dc CI: Fix Go auto update 2024-05-07 08:52:36 -07:00