Joel Speed
aa1dfd0ab8
Update NoTimestamp exceptions for qualified names
2025-12-19 14:57:24 +00:00
Joel Speed
456c13b409
Update Kube API Linter
2025-12-19 14:57:23 +00:00
Davanum Srinivas
8703640651
add utility for generating markdown for feature gates
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
fix for review comments
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-12-18 22:53:56 -05:00
Kubernetes Prow Robot
430fef557f
Merge pull request #135531 from pohly/golangci-lint-bump
...
golangci-lint: bump to v2.7.1
2025-12-18 07:55:18 -08:00
Davanum Srinivas
ab1ffaf12e
move httpcache to third_party/forked
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-12-18 08:18:57 -05:00
Patrick Ohly
6bcb5beba3
golangci-lint: bump to v2.7.1
2025-12-18 12:10:15 +01:00
Kubernetes Prow Robot
5eecce635d
Merge pull request #135748 from princepereira/ppereira-vendoring-hnslib-v012
...
Update vendored hnslib to v0.1.2
2025-12-18 02:10:30 -08:00
Kubernetes Prow Robot
8c33e90e50
Merge pull request #135720 from soltysh/allowed_licenses_link
...
Update allowed-thir-party-license-policy.md link
2025-12-18 02:10:14 -08:00
Kubernetes Prow Robot
508074f023
Merge pull request #135615 from soltysh/drop_autoscaling_v2betaX
...
Drop autoscaling v2beta1 and v2beta2
2025-12-17 23:28:25 -08:00
Kubernetes Prow Robot
df610f8cee
Merge pull request #135538 from dims/drop-usates-of-archived-dependency-grpc-ecosystem/go-grpc-prometheus
...
Drop usages of archived dependency - github.com/grpc-ecosystem/go-grpc-prometheus
2025-12-17 23:27:30 -08:00
Kubernetes Prow Robot
be49637f88
Merge pull request #135385 from PatrickLaabs/132086-denypointerpkg
...
chore: Denying deprecated pointer package in golangci-linters config
2025-12-17 21:42:31 -08:00
Kubernetes Prow Robot
a8b2be3f45
Merge pull request #135380 from BenTheElder/apidiffremotebranch
...
apidiff: autodetect remote and default branch
2025-12-17 21:42:23 -08:00
Kubernetes Prow Robot
907f9d26c7
Merge pull request #135302 from liyuerich/commentstartapidiscovery
...
enable commentstart check on apidiscovery API group
2025-12-17 20:00:46 -08:00
Kubernetes Prow Robot
1c0eb534ca
Merge pull request #135219 from skitt/valswap
...
Enforce Golang a, b = b, a swaps
2025-12-17 19:59:46 -08:00
Kubernetes Prow Robot
99b27386d9
Merge pull request #135211 from AkihiroSuda/fix-135210
...
hack/lib/util.sh: support uutils' `date` command
2025-12-17 19:59:32 -08:00
Kubernetes Prow Robot
3346a57834
Merge pull request #134966 from shwetha-s-poojary/enable-notimestamp-lint
...
Enable notimestamp rule for Kube API Linter
2025-12-17 17:37:15 -08:00
Prince Pereira
832e342c01
Update vendored hnslib to v0.1.2
2025-12-16 12:50:35 +00:00
Maciej Szulik
365beb2398
Update allowed-thir-party-license-policy.md link
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2025-12-11 17:10:35 +01:00
Patrick Ohly
f58f81d917
local-up-cluster.sh: support more recent containerd like 2.2
...
The kubekins image got updated from containerd 1.7 to 2.2, which broke
local-up-cluster.sh in the CI because more recent containerd uses single
quotation marks around strings instead of double quotation marks as before. The
search/replaced with sed no longer matched, causing containerd to fail mounting
overlayfs on the default /var/lib/containerd. We have to use the emptyDir host
mount under /docker-graph.
The fix is to relax the search term slightly so that it accepts both kinds of
quotation marks.
2025-12-10 09:17:03 +01:00
bzsuni
2c811fdd3a
etcd: Update etcd to v3.6.6
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io >
2025-12-08 05:37:15 +00:00
Maciej Szulik
e347aa994b
React to removing autoscaling v2beta1 and v2beta2
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2025-12-05 11:59:30 +01:00
Davanum Srinivas
1240604ebf
Drop usages of archived dependency - github.com/grpc-ecosystem/go-grpc-prometheus
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-12-01 20:53:55 -05:00
PatrickLaabs
7402fc23db
Denying deprecated pointer package in golangci-linters config
2025-11-21 09:51:20 +01:00
Benjamin Elder
bb2899fc4a
apidiff: autodetect remote and default branch
2025-11-20 16:48:02 -08:00
Akihiro Suda
0c0bc0d533
hack/lib/util.sh: support uutils' date command
...
`make` was printing the following warning on Ubuntu 25.10,
which switched away from GNU coreutils to uutils:
```
!!! [1107 12:46:24] Failed to find GNU date as date or gdate. If you are on Mac: brew install coreutils.
<GOPATH>/src/k8s.io/kubernetes/hack/lib/version.sh: line 166: DATE: unbound variable
```
Fix issue 135210
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2025-11-18 17:27:50 +09:00
liyuerich
a9085f7358
enable commentstart check on apidiscovery API group
...
Signed-off-by: liyuerich <yue.li@daocloud.io >
2025-11-14 15:10:30 +08:00
Stephen Kitt
55c337637e
Enforce Golang a, b = b, a swaps
...
This eliminates the last two remaining three-step value swaps (t =
a; a = b; b = t instead of a, b = b, a) and enables linting to prevent
new ones being added in future.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2025-11-13 06:38:23 -05:00
shwetha-s-poojary
84baa7143e
Enable notimestamp rule for Kube API Linter
2025-11-07 09:09:51 +05:30
liyuerich
18967f53dd
enable commentstart check on adminssion API group
...
Signed-off-by: liyuerich <yue.li@daocloud.io >
2025-11-05 14:12:49 +08:00
Kubernetes Prow Robot
4b2e387b8b
Merge pull request #134734 from kannon92/kal-linter-enable
...
Enable duplicatemarkers for Kubernetes API Linter
2025-11-04 15:32:14 -08:00
Patrick Ohly
6034321603
dependencies: ginkgo v2.27.2, gomega v1.38.2
...
Specifically the new AddTreeConstructionNodeArgsTransformer and SpecPriority in
Ginkgo will be useful.
Gomega gets updated to keep up-to-date.
2025-11-01 09:52:09 +01:00
Kubernetes Prow Robot
710c80f72a
Merge pull request #133503 from p0lyn0mial/upstream-disable-panic-watch-decode-err-for-integration
...
test-integration: set KUBE_PANIC_WATCH_DECODE_ERROR to false
2025-10-31 02:52:03 -07:00
Kevin Hannon
fda069a5d6
update kal to fix markdown table bug
2025-10-30 12:01:09 -04:00
Kevin Hannon
9cc3a06f0b
enable duplicate tags for kal and add exceptions
2025-10-30 11:15:35 -04:00
Kubernetes Prow Robot
3ec2d82da5
Merge pull request #134784 from michaelasp/svm_beta2
...
SVM: bump the API to beta, remove unused fields
2025-10-29 13:56:02 -07:00
Michael Aspinwall
3b72759d1b
Update SVM to Beta
...
Co-authored-by: Stanislav Láznička <stlaz.devel@proton.me >
2025-10-29 19:36:11 +00:00
Francesco Romani
816eee64e8
cpumanager: hack: add golang ci config for contextual logging
...
add cpumanager to contextual logging linter
regenerate with
```hack/update-golangci-lint-config.sh```
Signed-off-by: Francesco Romani <fromani@redhat.com >
2025-10-27 08:38:58 +01:00
Kubernetes Prow Robot
60e1f61a63
Merge pull request #133511 from BenTheElder/no-md5
...
eliminate md5 usage, block new usage
2025-10-24 10:59:35 -07:00
Tim Allclair
c247514f47
Remove year from copyright header boilerplate
2025-10-23 16:50:13 -07:00
Kubernetes Prow Robot
ee58e792cc
Merge pull request #134812 from skitt/enable-gocritic-unlambda
...
Avoid no-change lambdas
2025-10-23 15:43:34 -07:00
Kubernetes Prow Robot
ab34215bab
Merge pull request #134229 from yongruilin/kal-vg
...
Use kube-api-linter linting for declarative validation tags
2025-10-23 08:11:35 -07:00
Stephen Kitt
1e2817d589
Avoid no-change lambdas
...
This replaces functions that wrap another function with no change with
a direct reference to the wrapped function.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2025-10-23 09:46:15 +02:00
yongruilin
d764e81a66
Revert "Implement validation-gen lint for CI"
...
This reverts commit 252d584cb7 .
Lint logic is implemented through golanci-lint&kube-api-linter
2025-10-22 18:02:06 +00:00
yongruilin
7d1500bb1e
feat: Add exceptions for conflicting markers in kube-api-linter
2025-10-22 18:02:06 +00:00
yongruilin
12b5106809
bump kube-api-linter tool to latest and go mod tidy
2025-10-22 18:02:06 +00:00
yongruilin
5fc2f3e5a9
feat: Enable conflicting markers linter to detect mutually exclusive field markers
2025-10-22 17:06:11 +00:00
Stephen Kitt
5bfc9aba9f
Disable unwanted gocritic checks instead of filtering them
...
The golangci-lint docs indicate that, for gocritic, disabled-checks
and enabled-checks can't be combined. That is however not accurate;
enabled-checks adds checks, disabled-checks disables them, in that
order. If disable-all isn't set, then the setup starts with the checks
enabled by default, adds any additional checks specified in
enabled-checks, and removes checks specified in disabled-checks.
This means that instead of filtering unwanted checks, we can disable
them entirely. This makes the set of disabled checks easier to read,
and perhaps easier to clean up in future.
For singleCaseSwitch and wrapperFunc, we only want to ignore specific
instances, so this is still done by filtering.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2025-10-22 15:00:53 +02:00
Benjamin Elder
886fdeefae
forbid new use of md5
2025-10-21 15:25:11 -07:00
Tim Hockin
b1c85ef2fe
golangci-lint: no need to enable deprecatedComment
2025-10-21 12:47:38 -07:00
Kubernetes Prow Robot
cf991024a2
Merge pull request #134656 from BenTheElder/cleanup-rsync
...
additional build simplification, drop rsync requirement
2025-10-16 14:32:47 -07:00