Commit Graph

20744 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2c10d9cacb Merge pull request #121277 from dprotaso/update-standard-protocols
update standard protocols to match KEP-3726
2023-10-20 03:10:43 +02:00
Kubernetes Prow Robot
7aa89084a3 Merge pull request #121240 from HirazawaUi/add-safe-sysctl
Add  ipv4 TCP settings safe sysctls
2023-10-20 03:10:34 +02:00
Kubernetes Prow Robot
31c679f65c Merge pull request #120757 from alexzielenski/apiserver/openapi/invalid-default
Update `kube-openapi` to Remove invalid defaults from fields with custom marshalling
2023-10-19 22:53:32 +02:00
Cici Huang
cbe3d89762 Promote CRD validation rule to stable 2023-10-19 20:31:17 +00:00
Jonathan Gonzalez V
a7adde53be bump golang.org/grpc to v1.56.3
Bumping golang.org/grpc in light of CVE-2023-44487.

Signed-off-by: Jonathan Gonzalez V <jonathan.abdiel@gmail.com>
2023-10-19 15:20:07 -03:00
Ben Luddy
cf836309dc Add validation for --storage-media-type option. 2023-10-19 10:54:16 -04:00
guangli.bao
27bb40a9d8 Remove GAed feature gates OpenAPIV3
Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
2023-10-19 22:31:43 +08:00
Alexander Zielenski
c5e25637c6 fix typo 2023-10-19 07:28:24 -07:00
Kubernetes Prow Robot
1bafafe9e8 Merge pull request #121000 from jiahuif-forks/fix/validating-admission-policy/variables-omitempty
ValidatingAdmissionPolicySpec: set Variables as omitempty.
2023-10-19 15:57:22 +02:00
Michał Woźniak
9be1b68ad0 Update staging/src/k8s.io/api/batch/v1/types.go
Co-authored-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2023-10-19 13:18:16 +02:00
Michal Wozniak
6dd0ad5c0f Graduate BackoffLimitPerIndex to Beta 2023-10-19 12:18:36 +02:00
Kubernetes Prow Robot
b4fd162664 Merge pull request #118647 from mochizuki875/fix_netadmin_debugging_profile
Add CAP_NET_RAW to netadmin debugging profile
2023-10-19 09:31:16 +02:00
AxeZhan
aee7335285 add new test cases 2023-10-19 10:48:08 +08:00
AxeZhan
220d5c2e54 remove dead code in test 2023-10-19 10:47:12 +08:00
AxeZhan
79f9bfdc8e fix wait.PollUntilContextCancel immediately executes condition once 2023-10-19 10:47:00 +08:00
Kubernetes Prow Robot
1c2b0023dd Merge pull request #120994 from thockin/kube_codegen_extra_peer_dirs
Add --extra-peer in conversion in kube_codegen
2023-10-19 04:03:36 +02:00
Alexander Zielenski
0a6d9531f4 update generated code and openapi 2023-10-18 16:07:06 -07:00
Alexander Zielenski
4d21a23be3 pin openapi 2023-10-18 16:07:06 -07:00
Alexander Zielenski
31a1c00e49 cleanup: move unstructured check earlier in status update 2023-10-18 15:16:10 -07:00
Alexander Zielenski
d151f22780 cleanup: remove unused versions of cel validators and structural schemas from CRD strategy 2023-10-18 15:16:10 -07:00
Alexander Zielenski
cc0264f7fc cleanup: check unstructured for Validate(Update) before validating
logic is the same. sets us up for another refactor
2023-10-18 15:01:56 -07:00
Ben Luddy
ced56a6ada Restrict supported media types for new apiservers.
This is to prevent the enablement of new data formats (CBOR) in the early stages of phased
implementation.
2023-10-18 16:37:53 -04:00
Monis Khan
f5cb2ada94 k8s.io/kms: drop direct dependency on klog
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-10-18 14:16:54 -04:00
Kubernetes Prow Robot
54e0922d1f Merge pull request #121250 from carlory/fix-120882
update pretty param description
2023-10-18 19:34:46 +02:00
Dave Protasowski
b7477c31b0 update versioned types 2023-10-18 11:36:48 -04:00
Kubernetes Prow Robot
ca43bf0582 Merge pull request #120154 from palnabarun/authz-config-external-changes
[StructuredAuthorizationConfiguration] Add --authorization-config flag and guard it using a Feature Gate
2023-10-18 16:21:13 +02:00
Kensei Nakada
d5d3c26337 feature(scheduler): implement matchLabelKeys in PodAffinity and PodAntiAffinity 2023-10-18 11:28:02 +00:00
Wojciech Tyczyński
0dd495e6dc Address review comments 2023-10-18 11:07:03 +02:00
Kubernetes Prow Robot
dc8b57d8a7 Merge pull request #121283 from tnqn/cleanup-unregistered-group
Unregister group path from apiserver when the group no longer exists
2023-10-18 10:30:09 +02:00
Wojciech Tyczyński
7ff866463a Refactor watch event serialization to allow caching 2023-10-18 09:38:37 +02:00
Quan Tian
0cda42af7a Unregister group path from apiserver when the group no longer exists
After a CRD or an APIService was deleted, the corresponding group was
never unregistered. It caused a stale entry to remain in the root path
and could potentially lead to memory leak as the groupDiscoveryHandler
was never released and the handledGroups was never cleaned up.

The commit implements the cleanup. It tracks each group's usage and
unregister the a group when there is no version for this group.

Signed-off-by: Quan Tian <qtian@vmware.com>
2023-10-18 15:17:21 +08:00
Nabarun Pal
22e5a806a7 Add --authorization-config flag to apiserver
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2023-10-18 11:58:47 +05:30
carlory
75f20ee64d update pretty param description 2023-10-18 13:45:43 +08:00
Kubernetes Prow Robot
0304c567b6 Merge pull request #121085 from jiahuif-forks/fix/crd-validation-expressions/enum-cost
CRD Validation Expresions: set maxLength to longest enum.
2023-10-17 23:28:39 +02:00
Davanum Srinivas
c8b65422e5 Drop usage of deprecated method NewNamedRateLimitingQueue
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-10-17 15:52:50 -04:00
Nabarun Pal
007ef653ad add feature gates for authorization config
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2023-10-17 23:49:09 +05:30
Kubernetes Prow Robot
0095ae3b25 Merge pull request #120195 from Ithrael/fix/error-handling-condition-in-test
fix(test): fix error handling condition in test
2023-10-17 20:08:01 +02:00
Jiahui Feng
bf32f87d00 skip CEL validations for enum violation. 2023-10-17 10:10:13 -07:00
Kubernetes Prow Robot
d22e315c4a Merge pull request #120910 from palnabarun/3221/fix-kubeconfig-file-type-name
staging/apiserver: correct KubeConfig type name in authorization types
2023-10-17 18:50:33 +02:00
Kubernetes Prow Robot
86bcca4713 Merge pull request #121161 from siyuanfoundation/test-delete
k8s.io/apiserver/storage: add 3 new unit tests for delete.
2023-10-17 17:21:27 +02:00
Kubernetes Prow Robot
5b7339b804 Merge pull request #121121 from kiashok/addRuntimeHdlrImageSpec
Add runtime handler field to ImageSpec struct
2023-10-17 17:21:13 +02:00
Jim Hays
911700e64e Fix typos in markdown 2023-10-17 10:55:40 -04:00
Nabarun Pal
2bf2c4f3a4 staging/apiserver: correct KubeConfigFile type in authorization types
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2023-10-17 20:01:27 +05:30
Alexey Fomenko
465d3bb65b DRA: notify ResourceClaim or ResourceClass of wrong params 2023-10-17 12:31:28 +03:00
Kubernetes Prow Robot
0466ac05cc Merge pull request #121276 from haircommander/compress-cri-owners
cri-api: compress OWNERS files
2023-10-17 02:29:17 +02:00
Kubernetes Prow Robot
ac66f3d466 Merge pull request #121010 from Jefftree/decouple-openapi-v2v3-config
Decouple openapi v2v3 config
2023-10-16 23:41:11 +02:00
Kubernetes Prow Robot
6224f2f43f Merge pull request #121160 from siyuanfoundation/test-create
k8s.io/apiserver/storage: add a new TestCreate case.
2023-10-16 22:26:46 +02:00
Peter Hunt
56023e00cb cri-api: compress OWNERS files
as that seems more in line with the intention of these files

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2023-10-16 15:31:15 -04:00
Kubernetes Prow Robot
3a3dc870a2 Merge pull request #121118 from alexzielenski/apiserver/apiextensions/ratcheting-factor-correlation
CRDValidationRatcheting: Factor object correlation and comparison into reusable component
2023-10-16 21:20:02 +02:00
Kubernetes Prow Robot
b5cc6aab48 Merge pull request #119802 from takirala/tga/update-ErrGroupDiscoveryFailed
client-go: chore: implement `Is` interface for `ErrGroupDiscoveryFailed`
2023-10-16 21:19:52 +02:00