Commit Graph

14733 Commits

Author SHA1 Message Date
Davanum Srinivas
555623c07e staging: add dummy commit to trigger gomod update (#106794)
add newline to all staging repos

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

Co-authored-by: Nikhita Raghunath <nikitaraghunath@gmail.com>
2021-12-02 20:38:34 -05:00
Nabarun Pal
78e1ec2e38 publishing-bot: remove rules for release-1.19
Kubernetes 1.19 is not actively maintained anymore.

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-12-02 10:08:20 +05:30
Sergey Kanzhelev
4c9d77d724 generated files for the grpc field rename 2021-12-01 18:25:37 +00:00
Sergey Kanzhelev
1918ecad04 update the grpc field name for consistency 2021-12-01 18:16:08 +00:00
Antonio Ojea
85797eba70 bump TestHTTP1DoNotReuseRequestAfterTimeout timeout
the test TestHTTP1DoNotReuseRequestAfterTimeout has to wait for
request to time out to assert that subsequent requests does not
reuse the TCP connection.

It seems that current value of 100ms causes issues on some CI
environments and bumping the timeout seems to solve this flakiness,

We can bump the timeout value because is really low compared to real
scenarios and the bump still keeps it in the millisecond order.
2021-11-29 19:11:47 +01:00
Nabarun Pal
e8b177cfc1 publishing-bot: add 1.23 rules
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-11-25 11:25:39 +05:30
Jordan Liggitt
ed68909177 Revert sigs.k8s.io/structured-merge-diff/v4 to v4.1.2 2021-11-24 10:32:24 -05:00
Jordan Liggitt
2d307f47bd Return BadRequest for invalid large patch 2021-11-21 09:13:37 -05:00
Kubernetes Prow Robot
9a1d90165d Merge pull request #106462 from jpbetz/cel-e2e2
Add e2e test for CEL Validation Rules
2021-11-19 22:04:59 -08:00
Kubernetes Prow Robot
8f9dd0a14c Merge pull request #105916 from kevindelgado/validation-unify-all
Server Side Strict Field Validation
2021-11-19 14:27:22 -08:00
Kevin Delgado
e50e2bbc88 Server Side Field Validation
Implements server side field validation behind the
`ServerSideFieldValidation` feature gate. With the
feature enabled, any create/update/patch request
with the `fieldValidation` query param set to
"Strict" will error if the object in the request
body have unknown fields. A value of "Warn"
(also the default when the feautre is enabled)
will succeed the request with a warning.

When the feature is disabled (or the query param
has a value of "Ignore"), the request will succeed
as it previously had with no indications of any
unknown or duplicate fields.
2021-11-19 21:24:36 +00:00
Joe Betz
0b96f53f52 Add e2e test for CEL Validation Rules 2021-11-18 21:01:40 -05:00
Kubernetes Prow Robot
b8af116327 Merge pull request #99728 from mattcary/control
StatefulSet PVC auto-delete implementation
2021-11-18 03:37:02 -08:00
Kubernetes Prow Robot
d766ab88f7 Merge pull request #106501 from ehashman/cri-graduation-v1
Make CRI v1 the default and allow a fallback to v1alpha2
2021-11-17 19:57:01 -08:00
Kubernetes Prow Robot
91b7fb4dc9 Merge pull request #102915 from wzshiming/feat/graceful-shutdown-based-on-pod-priority
Graceful Node Shutdown Based On Pod Priority
2021-11-17 18:45:03 -08:00
Matthew Cary
f1d5d4df5a tests for statefulset PersistentVolumeClaimDeletePolicy api change 2021-11-17 16:46:48 -08:00
Matthew Cary
98c37f9e2a statefulset PersistentVolumeClaimDeletePolicy api change 2021-11-17 16:46:47 -08:00
Kubernetes Prow Robot
e4952f32b7 Merge pull request #106463 from SergeyKanzhelev/grpcProbe
Implement grpc probe action
2021-11-17 12:43:54 -08:00
Sascha Grunert
de37b9d293 Make CRI v1 the default and allow a fallback to v1alpha2
This patch makes the CRI `v1` API the new project-wide default version.
To allow backwards compatibility, a fallback to `v1alpha2` has been added
as well. This fallback can either used by automatically determined by
the kubelet.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-11-17 11:05:05 -08:00
Sergey Kanzhelev
b7affcced1 implement :grpc probe action 2021-11-17 17:31:23 +00:00
Kubernetes Prow Robot
1367cca8fd Merge pull request #106448 from aojea/hlee/issue-103721/staticcheck
use golangci-lint
2021-11-17 09:25:54 -08:00
Kubernetes Prow Robot
cd6ffff85d Merge pull request #103526 from brianpursley/kubectl-686
Close connection and stop listening when port forwarding errors occur so that kubectl can exit
2021-11-17 07:59:54 -08:00
Antonio Ojea
bf9ce7fd76 remove unused fakeUpgradeConnection 2021-11-17 13:58:54 +01:00
Antonio Ojea
9336ff78f4 remove unused variable responseBodySize 2021-11-17 13:58:54 +01:00
Antonio Ojea
3490bdc8b5 remove unused listMetaType var 2021-11-17 13:58:54 +01:00
Antonio Ojea
98884f733a remove ineffectual assignment base var 2021-11-17 13:58:54 +01:00
Antonio Ojea
f143d1b2cd remove unused constant errLeaseFailed 2021-11-17 13:58:54 +01:00
Antonio Ojea
05f9a86f41 fix diskName assignment 2021-11-17 13:58:54 +01:00
Antonio Ojea
e1821c13eb remove inefficient assignment 2021-11-17 13:58:54 +01:00
Antonio Ojea
0019f98613 no lint unused variables 2021-11-17 13:58:54 +01:00
Antonio Ojea
e82e0b38ff no lint unused variables 2021-11-17 13:58:54 +01:00
Antonio Ojea
4352768240 fix inefassign linter declaring variable 2021-11-17 13:58:54 +01:00
Antonio Ojea
4bf93f318a nolint:staticcheck,ineffassign Convert function 2021-11-17 13:58:54 +01:00
Antonio Ojea
35c05a3afa nolint float64(-0.0), //nolint:staticcheck // SA4026: 2021-11-17 13:58:54 +01:00
Antonio Ojea
c4080c2ad1 nolint unused expectNoMatchDirect function 2021-11-17 13:58:54 +01:00
Antonio Ojea
52c69ba744 fix ineffectual assignment to name (ineffassign) 2021-11-17 13:58:54 +01:00
Antonio Ojea
31d45d000b fix ineffectual assignment to base var 2021-11-17 13:58:53 +01:00
Antonio Ojea
b2971e7497 fix ineffectual assignment to i (ineffassign) 2021-11-17 13:58:53 +01:00
Antonio Ojea
a36517f9e7 nolint unused errLeaseFailed 2021-11-17 13:58:53 +01:00
Antonio Ojea
d55af19c1b fix ineffectual assignment to diskName 2021-11-17 13:58:53 +01:00
Antonio Ojea
fa3c4b953f fix SA4005: ineffective assignment to field PatchMeta.patchStrategies (staticcheck) 2021-11-17 13:58:53 +01:00
Antonio Ojea
01a0fba362 fix unassigned error on client-go test 2021-11-17 13:58:53 +01:00
Antonio Ojea
d126b14838 migrate nolint coments to golangci-lint 2021-11-17 13:58:53 +01:00
Kubernetes Prow Robot
f784891854 Merge pull request #105945 from Jefftree/openapi-v3-test
OpenAPI v3
2021-11-16 21:14:05 -08:00
Kubernetes Prow Robot
7eb502be37 Merge pull request #106141 from enj/enj/i/oidc_client
oidc authenticator: allow http.Client to be overridden
2021-11-16 20:11:53 -08:00
Shiming Zhang
d82f606970 Add field for KubeletConfiguration and Regenerate 2021-11-17 11:47:12 +08:00
Kubernetes Prow Robot
0c476690d5 Merge pull request #105520 from soltysh/bump_burst
Bump discovery burst for kubectl to 300
2021-11-16 18:45:53 -08:00
brianpursley
4a35e6c564 close streamConn and stop listening when an error occurs while port forwarding 2021-11-16 21:05:43 -05:00
Kubernetes Prow Robot
c0b5ed7556 Merge pull request #105611 from damemi/simplified-multipoint-extension
Scheduler simplified MultiPoint plugin config
2021-11-16 17:44:12 -08:00
Kubernetes Prow Robot
1f6d5caa9a Merge pull request #105437 from cmssczy/update-kubelet-configuration
migrate --register-with-taints to KubeletConfiguration
2021-11-16 17:44:00 -08:00