Commit Graph

21153 Commits

Author SHA1 Message Date
Siyuan Zhang
d31aebe572 fix lock bug for componentGlobalsRegistry
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-07-05 15:50:10 +00:00
cpanato
8693df66d5 Update publishing-bot rules to Go 1.22.5
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-07-05 09:18:52 +02:00
Kubernetes Prow Robot
c87c06d7ff Merge pull request #125850 from dims/fix-for-typecheck-does-not-notice-compile-errors-in-test-files
Fix for typecheck doesn't notice compile errors in test files
2024-07-04 13:21:42 -07:00
Davanum Srinivas
c230a45383 Fix for typecheck doesn't notice compile errors in test files
- ensure we add all the staging modules so the _test files in there are "loaded"
- use build tags to skip tests that fail to build in specific os/arch pairs

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Co-Authored-By: Tim Hockin <thockin@google.com>
2024-07-04 15:01:41 -04:00
cpanato
0e9308f3bc Bump images, dependencies and versions to go 1.22.5 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-07-04 16:34:18 +02:00
Kubernetes Prow Robot
8ebfb8c2c2 Merge pull request #125842 from soltysh/remove_deprecated_flags
Remove deprecated kubectl run and drain flags
2024-07-04 06:46:32 -07:00
Kubernetes Prow Robot
9ec91e6551 Merge pull request #125848 from jpbetz/fix-auth-selectors
Drop removed APIs from etcd data tests, remove special case logic for binaryVersion=0.0 and all usages
2024-07-03 17:40:32 -07:00
Kubernetes Prow Robot
d95de06fa7 Merge pull request #125659 from saschagrunert/oci-volumesource-cri-api
[KEP-4639] Add OCI VolumeSource CRI API
2024-07-03 15:46:15 -07:00
Joe Betz
1864e7131e Remove special case logic in apiserver to serve all APIs when binary version is set artifically to 0.0 2024-07-03 14:31:14 -04:00
Sascha Grunert
448430701b Add OCI VolumeSource CRI API
Adding the required container runtime interface API so that runtimes and
consumers can start using it.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-07-03 09:07:46 +02:00
Abu Kashem
ae647032a7 apiserver: remove feature gate APIPriorityAndFairness 2024-07-02 13:00:43 -04:00
Maciej Szulik
4b5cf0a276 Remove deprecated kubectl drain flag
delete-local-data was deprecated back in v1.20 with this commit:
625e47aaa2

It's about time we entirely drop the support for this flag. Users should
be already using delete-emptydir-data instead.
2024-07-02 15:52:04 +02:00
Maciej Szulik
f1917f18eb Remove deprecated kubectl run flags
This commits removes the following flags from kubectl run:
- filename
- force
- grace-period
- kustomize
- recursive
- timeout
- wait

Those flags are deprecated since v1.26, see this commit
09804a198c.
2024-07-02 15:51:49 +02:00
Kubernetes Prow Robot
e341d5b1aa Merge pull request #125626 from linxiulei/fix_routine_log
Fix httplog not logging watch duration
2024-07-02 04:05:59 -07:00
Eric Lin
06c7058115 Fix httplog not logging watch duration in separate goroutines
Signed-off-by: Eric Lin <exlin@google.com>
2024-07-02 09:58:44 +00:00
Kubernetes Prow Robot
79fee524e6 Merge pull request #125483 from wojtek-t/storage_readiness_hook
Implement resilient watchcache initialization post-start-hook
2024-07-01 13:48:29 -07:00
Wojciech Tyczyński
a5772bd425 Implement resilient watchcache initialization post-start-hook 2024-07-01 12:54:57 +02:00
Kubernetes Prow Robot
d729af9446 Merge pull request #125591 from p0lyn0mial/upstream-promote-watch-list-to-beta
Promote WatchList feature to Beta
2024-07-01 02:31:14 -07:00
Kubernetes Prow Robot
93d56511e6 Merge pull request #125021 from aojea/servicecidrbeta
KEP-1880 Multiple Service CIDRs: Graduate to Beta (2/2)
2024-06-30 08:53:25 -07:00
Antonio Ojea
bc8bce2ef9 make update 2024-06-30 09:48:46 +00:00
Antonio Ojea
c1d06c0ae4 use networking v1beta1 for kubectl describe 2024-06-30 09:48:46 +00:00
Antonio Ojea
ca2d0857b6 promote ServiceCIDR and IPAddress to beta 2024-06-30 09:48:42 +00:00
Lin Yang
4093c354f0 [code-generator] feat: add func for generating register code (#124946)
* feat: add func for generating register code

* refactor:remove unused local variable

* fix: make the function name singular

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: precisely matching the comment tag for register-gen

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>
2024-06-28 18:26:03 -07:00
Kubernetes Prow Robot
ac9aec9f9b Merge pull request #125116 from pohly/dra-one-of-source
DRA: remove "source" indirection from v1 Pod API
2024-06-28 12:46:45 -07: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
d40676c227 Merge pull request #122047 from aojea/treeless
KEP-1880 Multiple Service CIDRs: Graduate to Beta (1/2)
2024-06-28 01:00:20 -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
522e2e5066 Merge pull request #124917 from vinayakankugoyal/kep4633
KEP-4633: Only allow anonymous auth for configured endpoints.
2024-06-27 20:39:51 -07:00
Kubernetes Prow Robot
bec82cc63c Merge pull request #125479 from kundan2707/kube_proxy_update
kube-proxy config update
2024-06-27 18:13:32 -07:00
Vinayak Goyal
5e6a4937f5 KEP-4633: Allow health-only anonymous auth mode.
Signed-off-by: Vinayak Goyal <vinaygo@google.com>
2024-06-28 00:30:05 +00:00
Kubernetes Prow Robot
2c6daa41de Merge pull request #125162 from sttts/sttts-code-generator-core-group
code-generator/client-gen: decouple core group from package name 'api'
2024-06-27 16:12:15 -07:00
Antonio Ojea
2aeace5977 generated 2024-06-27 21:00:57 +00:00
Kubernetes Prow Robot
742b2f70b9 Merge pull request #125766 from dims/update-moby/spdystream-to-v0.4.0
Update moby/spdystream to v0.4.0
2024-06-27 13:02:35 -07:00
Kubernetes Prow Robot
010409ad0d Merge pull request #125730 from p0lyn0mial/upstream-bring-back-consistent-read-from-cache-supports-pagination
apiserver/storage/cacher: consistent read from cache supports limit
2024-06-27 11:57:20 -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
Kubernetes Prow Robot
df20694c62 Merge pull request #125600 from thockin/plus_default_deprecated_volumes
Use +default for deprecated volume types
2024-06-27 10:40:00 -07:00
Antonio Ojea
91c4aac738 document the API with the details about the allocation CIDR ranges 2024-06-27 17:18:00 +00:00
Davanum Srinivas
377a3f7ec4 Update moby/spdystream to v0.4.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-27 13:07:47 -04:00
Patrick Ohly
bde9b64cdf DRA: remove "source" indirection from v1 Pod API
This makes the API nicer:

    resourceClaims:
    - name: with-template
      resourceClaimTemplateName: test-inline-claim-template
    - name: with-claim
      resourceClaimName: test-shared-claim

Previously, this was:

    resourceClaims:
    - name: with-template
      source:
        resourceClaimTemplateName: test-inline-claim-template
    - name: with-claim
      source:
        resourceClaimName: test-shared-claim

A more long-term benefit is that other, future alternatives
might not make sense under the "source" umbrella.

This is a breaking change. It's justified because DRA is still
alpha and will have several other API breaks in 1.31.
2024-06-27 17:53:24 +02: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
Dr. Stefan Schimanski
ac3b7643ad make codegen
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-06-27 15:33:08 +02:00
Dr. Stefan Schimanski
676d989713 code-generator/examples: fix json tags
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-06-27 15:16:41 +02:00
Dr. Stefan Schimanski
be2cf7e4d9 code-generator/client-gen: add example with single package api/v1
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-06-27 15:16:41 +02:00
Dr. Stefan Schimanski
6b2f779bd4 code-generator/client-gen: decouple core group from package name 'api'
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-06-27 15:16:40 +02:00
Dr. Stefan Schimanski
7e52d34852 code-generator/client-gen: add example with core group
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-06-27 15:16:39 +02:00
Lukasz Szaszkiewicz
2f9660db6b apiserver/storage/watchcache: WaitUntilFreshAndList supports path prefix 2024-06-27 14:30:42 +02:00
Lukasz Szaszkiewicz
c259fe2342 flowcontrol/request/list_work_estimator: sync shouldDelegateList 2024-06-27 14:30:42 +02:00
Lukasz Szaszkiewicz
09e85983d8 apiserver/storage/cacher: cache supports pagination 2024-06-27 14:30:42 +02:00
Kubernetes Prow Robot
29defc15aa Merge pull request #125756 from p0lyn0mial/upstream-improve-run-test-list
apiserver/storage: storagetesting.RunTestList validates RemainingItemCount
2024-06-27 05:25:16 -07:00
Kubernetes Prow Robot
95c7621ed0 Merge pull request #125755 from saschagrunert/named-param-service
Make CRI service interface function arguments consistent
2024-06-27 04:22:05 -07:00