Commit Graph

16658 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
02ac8ac418 Merge pull request #112487 from liggitt/flowcontrol-test
Add compatibility fixtures for v1beta2 flowcontrol
2022-09-15 20:21:16 -07:00
Kubernetes Prow Robot
8b7840e393 Merge pull request #112475 from vatsalparekh/fix-TestRESTClientLimiter
Fix Infelicities in TestRESTClientLimiter
2022-09-15 17:53:34 -07:00
Kubernetes Prow Robot
ad1e330977 Merge pull request #111567 from inosato/remove-ioutil-from-component-base
Remove ioutil from component-base
2022-09-15 17:53:16 -07:00
Kubernetes Prow Robot
be506dc46e Merge pull request #112476 from enj/enj/i/list_pager_flake
Check for context cancellation on each buffered chunk
2022-09-15 16:41:32 -07:00
Kubernetes Prow Robot
9cd6331f95 Merge pull request #112267 from sjenning/aws-skip-health-rules-master-upstream
aws: skip health rules if they are a subnet of the client rule
2022-09-15 16:41:06 -07:00
Kubernetes Prow Robot
6824cd3add Merge pull request #112450 from enj/enj/i/exec_tls_cache_holder_cleanup
client-go/transport: drop Dial and GetCert fields in favor of Holders
2022-09-15 15:33:32 -07:00
Kubernetes Prow Robot
dc0dfdd109 Merge pull request #111866 from pacoxu/validate
added ratcheting validation for  x-kubernetes-list-type
2022-09-15 15:33:21 -07:00
Jordan Liggitt
9328351de4 Add compatibility fixtures for v1beta2 flowcontrol 2022-09-15 17:08:40 -04:00
Monis Khan
7458ed01d6 Check for context cancellation on each buffered chunk
TestListPager_EachListItem flakes without this change.

Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-15 10:36:15 -04:00
Monis Khan
3313a70d5b client-go/transport: drop Dial and GetCert fields in favor of Holders
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-15 10:11:37 -04:00
Vatsal Parekh
c980cf489e Fix Infelicities in TestRESTClientLimiter
Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>
2022-09-15 19:30:40 +05:30
Kubernetes Prow Robot
7a68c8a21a Merge pull request #112091 from xyz-li/master
kubectl: fix memory leaks in port forwarding client
2022-09-15 06:47:25 -07:00
Paco Xu
6dd961bddc add test case for array checking with dup values
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2022-09-15 21:35:41 +08:00
m.nabokikh
378d7f8f2b Fix WhoAmI flaky test
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-15 11:02:42 +02:00
Kubernetes Prow Robot
80ddaf23a8 Merge pull request #112458 from dims/switch-to-release-tag-for-antlr-v1.4.10
Switch to release tag for antlr : v1.4.10
2022-09-14 18:37:34 -07:00
Kubernetes Prow Robot
4363c87bd5 Merge pull request #112433 from ncdc/reduce-SchemaHas-allocs
Reduce allocations in HasSchemas
2022-09-14 15:39:21 -07:00
Kubernetes Prow Robot
4e8b11d441 Merge pull request #111333 from flant/selfsubjectattributesreviews
Add auth API to get self subject attributes
2022-09-14 13:07:22 -07:00
Davanum Srinivas
9f75c56646 Switch to release tag for antlr : v1.4.10
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-14 15:54:34 -04:00
Kubernetes Prow Robot
b077a9ad87 Merge pull request #111420 from muyangren2/azure_auth_assert
Fix test order  staging/src/k8s.io/legacy-cloud-providers/azure/auth/azure_auth_test.go
2022-09-14 11:09:01 -07:00
m.nabokikh
00dfba473b Add auth API to get self subject attributes
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-14 18:00:26 +02:00
Andy Goldstein
1572e0481f Reduce allocations in HasSchemas
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-09-13 20:35:18 -04:00
Kubernetes Prow Robot
cee668beba Merge pull request #112205 from jprzychodzen/ensure-metric-registered
Ensure metric 'running_managed_controllers' is registered
2022-09-13 15:45:00 -07:00
Kubernetes Prow Robot
084a412e03 Merge pull request #112200 from pohly/client-go-shared-informer-factory-shutdown
client-go: support waiting for SharedInformerFactory shutdown
2022-09-13 09:43:01 -07:00
Patrick Ohly
e89d1d47e8 client-go: support waiting for SharedInformerFactory shutdown
SharedInformerFactory starts goroutines in Start and those can be stopped by
closing the stop channel. However, there was no API that waits for the
goroutines.

This is a problem for unit testing. A test has to return while the informers
are still running, which may get flagged by tools like
https://github.com/uber-go/goleak or by klog/ktesting when those informers
lead to log output.

While at it, more documentation gets added to address
https://github.com/kubernetes/kubernetes/issues/65036.
2022-09-12 21:05:06 +02:00
Kubernetes Prow Robot
0f37b31206 Merge pull request #112046 from aojea/etcd_healthz
rate limite etcd healthcheck request
2022-09-12 12:01:27 -07:00
Kubernetes Prow Robot
5858aa2bef Merge pull request #110267 from TinySong/auth-cani
update auto can-i error message
2022-09-12 12:01:05 -07:00
Kubernetes Prow Robot
ed520f3cac Merge pull request #112309 from shyamjvs/disable-compression
Add a "DisableCompression" option to kubeconfig
2022-09-12 10:55:25 -07:00
Kubernetes Prow Robot
74469ca4c5 Merge pull request #112123 from paskal/paskal/cfs_clarification
clarify CPUCFSQuotaPeriod values, set the minimum to 1ms
2022-09-12 07:01:25 -07:00
Patrick Ohly
60d92dd96a build: update to klog v2.80.1
The fix for https://github.com/kubernetes/klog/issues/348 is required before
https://github.com/kubernetes/kubernetes/pull/111998 can be merged because the
way how a unit test in that PR uses klog triggers the data race.
2022-09-09 13:11:55 +02:00
Kubernetes Prow Robot
d569886a23 Merge pull request #112341 from enj/enj/i/second_time_is_the_charm
Remove in-tree credential plugins (again)
2022-09-08 20:35:36 -07:00
Kubernetes Prow Robot
c9c3d2e9d9 Merge pull request #111768 from weilaaa/feature_add_symmetric_difference_in_sets_string
add method symmetric difference in sets.String
2022-09-08 20:35:25 -07:00
Kubernetes Prow Robot
a7936658ba Merge pull request #112193 from jindijamie/master
Add an option for aggregator
2022-09-08 17:21:24 -07:00
Monis Khan
09cde58bbc Remove in-tree credential plugins (again)
This change reverts three commits:

1. Revert "Revert "Remove gcp and azure auth plugins""
   This reverts commit 651b4f5b64.

2. Revert "update-gofmt"
   This reverts commit 79c09f0b31.

3. Revert "Update removal warnings to 1.26"
   This reverts commit 68758fc5c5.

Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-08 19:43:12 -04:00
Shyam Jeedigunta
f9c46a0e33 Autogen code 2022-09-08 16:07:02 -07:00
Shyam Jeedigunta
641fd5b482 Add DisableCompression option to KubeConfig 2022-09-08 16:06:56 -07:00
Kubernetes Prow Robot
082da2f04e Merge pull request #112017 from enj/enj/i/exec_tls_cache
exec auth: support TLS config caching
2022-09-08 15:35:22 -07:00
Dmitry Verkhoturov
d0f9e6dc36 clarify CPUCFSQuotaPeriod values, set the minimum to 1ms
cpu.cfs_period_us is measured in microseconds in the kernel but
provided in time.Duration by the user, that change clarifies the code
to make this evident to the reader.

Also, the minimum value for that feature is 1ms and not 1μs, and this
change alters the validation to reject values smaller than 1ms.
2022-09-08 23:29:13 +02:00
Monis Khan
831d95b6a0 exec auth: support TLS config caching
This change updates the transport.Config .Dial and .TLS.GetCert fields
to use a struct wrapper.  This indirection via a pointer allows the
functions to be compared and thus makes them valid to use as map keys.
This change is then leveraged by the existing global exec auth and TLS
config caches to return the same authenticator and TLS config even when
distinct but identical rest configs were used to create distinct
clientsets.

Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-08 14:51:28 -04:00
Nabarun Pal
4d0b44bb89 update branch rules in publishing rules to Go 1.18.6
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-08 22:41:07 +05:30
Kubernetes Prow Robot
cc4b7dc3c5 Merge pull request #111986 from enj/enj/i/transformer_leak
kms: fix go routine leak in gRPC connection
2022-09-08 09:49:46 -07:00
Monis Khan
4e68e9b5ad kms: fix go routine leak in gRPC connection
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-08 11:46:57 -04:00
Kubernetes Prow Robot
1c9cf66f73 Merge pull request #112301 from aojea/ipv6_rfc3849
use IPv6 Address Prefix Reserved for Documentation for api docs
2022-09-08 08:17:45 -07:00
Kubernetes Prow Robot
0e54bd2942 Merge pull request #112287 from palnabarun/master
Update images, dependencies and version to Go 1.19.1
2022-09-08 05:19:43 -07:00
Antonio Ojea
fa7ed64dae use IPv6 Address Prefix Reserved for Documentation for api docs 2022-09-08 09:45:04 +02:00
Shyam Jeedigunta
7cd5e6597e Reduce default gzip compression level from 4 to 1 in apiserver 2022-09-07 14:23:31 -07:00
Kubernetes Prow Robot
385cc255c7 Merge pull request #111967 from alexzielenski/csa-to-ssa
[client-go] add function to upgrade managedfields CSA to SSA
2022-09-07 11:58:48 -07:00
Kubernetes Prow Robot
2969000db3 Merge pull request #111122 from alexzielenski/informer
support removal of event handlers from SharedIndexInformers
2022-09-07 11:58:37 -07:00
Nabarun Pal
b4ac3b18f6 Update publishing bot default Go version to 1.19.1
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-07 22:13:33 +05:30
Kubernetes Prow Robot
2b203348fb Merge pull request #112022 from JackZxj/release-lock
update lock getter of leaderelection
2022-09-07 08:52:37 -07:00
weilaaa
2b55c94e37 add symmetric difference in sets 2022-09-07 20:25:44 +08:00