Commit Graph

10124 Commits

Author SHA1 Message Date
Benjamin Elder
0841358732 restrict permitted e2e images to known images list
allows tag bumps, but prevents adding new images to e2e without test/images approval

adds a pointer to agnhost as preferred before adding new images
2024-07-03 10:42:51 -07:00
Kubernetes Prow Robot
a9c156baef
Merge pull request #125787 from dims/pandaamanda-remove_apiserver_logs_api
kube-apiserver: default --enable-logs-handler flag to false
2024-06-29 11:23:12 -07:00
Davanum Srinivas
a88dc632a4
kube-apiserver: default --enable-logs-handler flag to false
Co-Authored-By: Iceber Gu <wei.cai-nat@daocloud.io>
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-28 15:22:22 -04:00
Matthieu MOREL
0cde5f1e28
fix: enable bool-compare rule from testifylint linter (#125135)
* fix: enable bool-compare rule from testifylint linter

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Update hack/golangci.yaml.in

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>

* Update golangci.yaml.in

* Update golangci-strict.yaml

* Update golangci.yaml.in

* Update golangci.yaml.in

* Update golangci.yaml.in

* Update golangci.yaml.in

* Update golangci.yaml

* Update golangci-hints.yaml

* Update golangci-strict.yaml

* Update golangci.yaml.in

* Update golangci.yaml

* Update mux_test.go

---------

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2024-06-28 10:58:05 -07:00
Kubernetes Prow Robot
4c44efe81c
Merge pull request #125759 from dims/bump-prometheus/common-v0.55.0
Bump `prometheus/common` to v0.55.0
2024-06-27 20:40:05 -07:00
Kubernetes Prow Robot
991e7a8c15
Merge pull request #125646 from HirazawaUi/apply-null
Prune explicit nulls from client-side apply create
2024-06-27 10:40:14 -07:00
Davanum Srinivas
35ccdc8b35
Bump prometheus/common to v0.55.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-27 09:34:23 -04:00
Kubernetes Prow Robot
bffc02b955
Merge pull request #125738 from pohly/hack-local-up-cluster-cors-fix
hack/local-up-cluster.sh: adapt to stricter --cors-allowed-origins
2024-06-26 20:40:18 -07:00
Patrick Ohly
8cb4a19450 hack/local-up-cluster.sh: adapt to stricter --cors-allowed-origins
https://github.com/kubernetes/kubernetes/pull/112809 tightened what regular
expressions are allowed and now requires that they start matching with a double
dash.
2024-06-26 18:52:03 +02:00
David Ashpole
56fdcf0837
Revert "update unwanted dependencies"
This reverts commit d65029f9bb.
2024-06-26 14:14:06 +00:00
HirazawaUi
c29a19610a add tests 2024-06-26 01:07:24 +08:00
David Ashpole
d65029f9bb
update unwanted dependencies
This update dropped the otelgrpc → cloud.google.com/go/compute dependency,
among others. This dropped out because genproto cleaned up it's dependencies
on google cloud libraries, and otel updated - details in #113366.
2024-06-23 15:53:54 +00:00
HirazawaUi
d98561fb26 fix local-up-cluster.sh to fail 2024-06-23 20:11:55 +08:00
Stephen Kitt
3f36c83c68
Switch to stretchr/testify / mockery for mocks
testify is used throughout the codebase; this switches mocks from
gomock to testify with the help of mockery for code generation.

Handlers and mocks in test/utils/oidc are moved to a new package:
mockery operates package by package, and requires packages to build
correctly; test/utils/oidc/testserver.go relies on the mocks and fails
to build when they are removed. Moving the interface and mocks to a
different package allows mockery to process that package without
having to build testserver.go.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-06-20 19:42:53 +02:00
Kubernetes Prow Robot
1544c104b7
Merge pull request #124752 from ArkaSaha30/bump-govulncheck-1.1.0
Bump govulncheck version to 1.1.0
2024-06-19 20:00:16 -07:00
Davanum Srinivas
9a830da048
add gofuzz to unwanted-dependencies.json
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-13 08:31:38 -04:00
Davanum Srinivas
60fe406f67
remove vestiges of providerless tag
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-06 12:18:38 -04:00
Kubernetes Prow Robot
b70a5ad6a1
Merge pull request #125269 from jeremyrickard/revert-pr-109939
Revert "build: Adds Windows kube-proxy image"
2024-06-01 15:17:19 -07:00
Jeremy Rickard
f62cf3914f
Revert "build: Adds Windows kube-proxy image"
This reverts commit 3b0cec323e.
2024-06-01 10:43:08 -06:00
Humble Chirammal
07ef65a834 make use of etcd v3.5.14 in the builds.
https://github.com/etcd-io/etcd/releases/tag/v3.5.14

This release has been built with GO 1.21.10

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2024-06-01 09:06:35 +05:30
Kubernetes Prow Robot
802983e714
Merge pull request #109939 from claudiubelu/windows/kube-proxy-hostprocess
build: Adds Windows kube-proxy image
2024-05-31 07:19:57 -07:00
Claudiu Belu
3b0cec323e build: Adds Windows kube-proxy image
Adds the KUBE_BUILD_WINDOWS option to make release-images and quick-release-images,
which will allow it to build the a Windows kube-proxy image as well. That image can
then be used with Windows Host Process Containers to start the kube-proxy
service on Windows nodes.
2024-05-31 08:04:00 +00:00
Kubernetes Prow Robot
2c46fafa23
Merge pull request #125150 from humblec/csi-update
update CSI spec to v1.9.0 which has modifyVolume API support and other updated libraries in place
2024-05-30 05:13:48 -07:00
Kubernetes Prow Robot
4c0afd74c3
Merge pull request #125113 from bzsuni/bz/build/cni
update cni from 1.4.1 to 1.5.0
2024-05-29 13:06:08 -07:00
Kubernetes Prow Robot
1cfaa95cab
Merge pull request #124898 from alexzielenski/apiserver/prerelease-ga-tags
Require prerelease lifecycle tags on GA types
2024-05-29 08:02:42 -07:00
Stephen Kitt
5dae865602
update-kustomize: update the Go workspace
Changing the kustomize version can also require updating the Go
workspace, do this in the update.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-05-28 10:40:04 +02:00
Stephen Kitt
31686c5483
Drop the extraneous space in update-kustomize.sh
With coreutils sed, the argument to -i must follow it immediately;
having a space here causes the command to look for a file with an
empty name, which fails.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-05-28 10:39:58 +02:00
Kubernetes Prow Robot
1c84623028
Merge pull request #125045 from pohly/ginkgo-gomega-update
dependencies: ginkgo v2.19.0, gomega v1.33.1
2024-05-28 01:03:18 -07:00
Humble Chirammal
e0a4cb0962 remove csi spec from unwanted dependencies
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2024-05-27 19:24:58 +05:30
Patrick Ohly
f3adf499c2 hack/ginkgo-e2e.sh: skip S character by default, add newlines in CI
We typically have plenty of skipped tests in an E2E run, which causes Ginkgo to
print many S characters (one for each skipped test). This easily fills up an entire
console window. Now the default is to silence that
output. GINKGO_SILENCE_SKIPS=n reverts to the previous behavior.

By default, Ginkgo prints all progress characters (S and o) in a single
line. Buffering in Prow causes that output to occur only after the run is over,
which defeats the purpose of having those characters. Now a newline is added
after each character, so there is visible progress in Prow while Ginkgo runs.
2024-05-27 15:25:50 +02:00
bzsuni
61a35c2186 update cni from 1.4.1 to 1.5.0
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-05-25 10:33:52 +08:00
Lubomir I. Ivanov
5e290ebc90 switch k/k to pause version 3.10 2024-05-24 10:02:51 +03:00
Alexander Zielenski
99c4af2053 enforce that GA apis also have lifecycle tags 2024-05-21 13:27:01 -07:00
ArkaSaha30
2e0ce7960e
Bump govulncheck version to 1.1.0
This commit will bump govulncheck version
1.0.1 -> 1.1.0

Additionally, handle govulncheck exit code returned

It will handle the govulncheck exit code returned
which returning 3 instead of 0 with the new v1.1.0
by adding `|| true` so that the verify job does not
fail but logs the go vulnerability found.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-05-21 16:43:53 +05:30
Kubernetes Prow Robot
6d4250ed41
Merge pull request #123149 from mochizuki875/remove_probe_from_copy_pod
kubectl debug: Add --keep-* flag to control the removal of probes, labels, annotations, and initContainers from copy pod
2024-05-16 17:35:53 -07:00
Monis Khan
974e2d956e
Ignore go.work.sum for fake workspaces
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-05-16 13:52:36 -04:00
mochizuki875
b63fa1300c Add keep options 2024-05-16 17:26:20 +00:00
carlory
7149cb9f5a Revert "Revert "remove legacycloudproviders from staging""
This reverts commit d9a0be3b01.
2024-05-15 20:10:09 +08:00
carlory
d9a0be3b01 Revert "remove legacycloudproviders from staging"
This reverts commit 07c8d35681.
2024-05-14 13:39:13 +08:00
Kubernetes Prow Robot
3d24b962be
Merge pull request #124505 from jsafrane/clean-pvlabeler
Remove PersistentVolumeLabel admission plugin
2024-05-09 08:52:48 -07:00
Jan Safranek
e7a6ed2e3d Remove PersistentVolumeLabel admission plugin
Remove useless admission plugin.

* It has been deprecated for years.
* All in-tree cloud providers were removed, so the admission plugin does not have
  any way to get PV labels.
* There is a replacement in https://github.com/kubernetes-sigs/cloud-pv-admission-labeler
2024-05-09 11:10:14 +02:00
carlory
07c8d35681 remove legacycloudproviders from staging 2024-05-09 11:59:43 +08:00
Davanum Srinivas
04c40ac961
Update to latest golang.org/x/oauth2 v0.20.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-08 13:06:12 -04:00
cpanato
e731ad5143
bump zeitgeist to release v0.5.3
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-05-08 10:20:31 +02:00
Kubernetes Prow Robot
7947052689
Merge pull request #124723 from dims/drop-typecheck-providerless-verification
Drop typecheck-providerless verification
2024-05-07 20:43:03 -07:00
Davanum Srinivas
fa7cdf81cc
Drop typecheck-providerless verification
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-07 08:24:15 -04:00
bells17
318ea033d5 Include k8s.io components with contextual logging in logcheck.conf 2024-05-07 20:35:33 +09:00
Davanum Srinivas
bf268f02a3
Remove gcp in-tree cloud provider and credential provider
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 09:03:53 -04:00
Patrick Ohly
6eba52e795 hack/apidiff.sh: compare between two revisions, usability enhancements
In a Prow job, the current work tree is the result of merging a PR into the
target. We want apidiff.sh from there, but then need to invoke it for two
specific revisions and compare.

While at it, output and usability get enhanced. The directory parameter(s) may
be absolute paths or lack the leading . that is required by apidiff.
2024-04-26 11:00:03 +02:00
Patrick Ohly
679195d8cc hack/apidiff.sh: handle lack of origin
The script failed in the Prow job with:

   fatal: Not a valid object name origin/master

That came from "git merge-base origin/master HEAD", which isn't needed because
the Prow job intentionally sets -r explicitly.

Now the fallback is only tried if needed. While at it, the informational
messages get enhanced.
2024-04-25 10:39:20 +02:00