Commit Graph

20744 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
0590bb1ac4 Merge pull request #124592 from ah8ad3/add-kubectl-set-completion
Add completion for kubectl set image
2024-05-06 23:20:51 -07:00
ah8ad3
ee58214bfb Add completion for kubectl set image 2024-05-07 08:47:47 +03:30
Kubernetes Prow Robot
1dc30bf90f Merge pull request #124600 from alvaroaleman/typed-wq
Use the generic/typed workqueue throughout
2024-05-06 16:18:31 -07:00
Kubernetes Prow Robot
54687f317b Merge pull request #124673 from jpbetz/retry-beta
Promote RetryGenerateName to beta
2024-05-06 15:11:56 -07:00
Kubernetes Prow Robot
44bd04c0cb Merge pull request #124598 from aroradaman/kubectl-describe-svc
Use endpointSlices for describing service endpoints
2024-05-06 09:06:14 -07:00
Kubernetes Prow Robot
4d17d30029 Merge pull request #124519 from dims/drop-all-the-providery-things-take-2
Remove gcp in-tree cloud provider and credential providers
2024-05-06 08:03:14 -07:00
Kubernetes Prow Robot
2c7bda528f Merge pull request #124590 from xrstf/fix-optional-comment
Fix +optional in comment for persistentVolumeClaimRetentionPolicy
2024-05-06 06:58:33 -07:00
Alvaro Aleman
6d0ac8c561 Use the generic/typed workqueue throughout
This change makes us use the generic workqueue throughout the project in
order to improve type safety and readability of the code.
2024-05-04 14:33:12 -04:00
Daman Arora
3236891023 kubectl/describe: use endpointslices for describing endpoints
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-04 21:46:46 +05:30
Kubernetes Prow Robot
4878acc5e5 Merge pull request #124281 from fulviodenza/master
Allow request parameter and proto file path
2024-05-04 06:54:37 -07:00
Kubernetes Prow Robot
1cbe7b6b43 Merge pull request #124189 from toddtreece/kube-aggregator-proxy-tracing
Add tracing to kube-aggregator proxyHandler
2024-05-04 00:32:02 -07:00
Patryk Małek
8dbeaa5786 fix(api): make LocalObjectReference.Name and HostAlias.IP required (#124553)
* fix(api): LocalObjectReference Name a "" default and make HostAlias.IP required

* chore(api): add LocalObjectReference comment

* chore(api): add omitempty to LocalObjectReference's Name

* chore(api): add kubebuilder:default annotation

* chore(api): ./hack/update-codegen.sh
2024-05-03 15:21:14 -07:00
Todd Treece
92da422427 Add tracing to aggregator proxyHandler 2024-05-03 18:10:23 -04:00
Joe Betz
1b59f3678f Promote RetryGenerateName to beta 2024-05-03 15:20:10 -04:00
Kubernetes Prow Robot
99129ed5eb Merge pull request #121496 from benluddy/metav1-labelselector-fuzz
Deduplicate set expression values in metav1.LabelSelector fuzzer.
2024-05-03 11:08:25 -07:00
Ben Luddy
a4c2f78b28 Deduplicate set expression values in metav1.LabelSelector fuzzer.
Internal versions of ScaleStatus types use metav1.LabelSelector to represent label selectors, while
external versions use the textual representation. During conversion to and from text, match
expressions are sorted by key, and values for set operations "in" and "notin" are sorted and
deduplicated. This loss of order and duplication is detected by roundtrip testing.

The existing fuzz function for metav1.LabelSelector sorts match expressions by key and sorts, but
does not deduplicate, set expression values. That function now also deduplicates set expression
values so that fuzzed metav1.LabelSelectors can faithfully roundtrip through the textual label
selector representation.
2024-05-03 11:12:26 -04:00
Taehoon Yoon
12795107a1 Updated & added visibility to apiserver x509 test certificates expiring this year 2024-05-02 23:23:03 +00:00
Kubernetes Prow Robot
bb838fde5b Merge pull request #124663 from saschagrunert/cri-api-security-contacts
Fix `cri-api` `SECURITY_CONTACTS` by removing a duplicate
2024-05-02 06:59:13 -07:00
Kubernetes Prow Robot
d0e78ef70e Merge pull request #123797 from saschagrunert/cri-staging
Add `cri-client` staging repository
2024-05-02 03:48:52 -07:00
Sascha Grunert
aec3701067 Fix cri-api SECURITY_CONTACTS by removing a duplicate
`tallclair` is already part of the list, so we can remove that entry.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-05-02 09:21:35 +02:00
Sascha Grunert
fef2ecf97d Add cri-client staging repository
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-05-02 09:20:17 +02:00
Davanum Srinivas
7187d9af81 address comments during review
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 18:01:25 -04:00
Kubernetes Prow Robot
83cdd30873 Merge pull request #124619 from aramase/aramase/c/requestheader_cleanup
Remove unused NewSecure function in requestheader.go
2024-05-01 10:59:18 -07: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
Daman Arora
df417aa9b8 kubectl/describe/svc: refactor TestDescribeService
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-01 14:45:45 +05:30
Kubernetes Prow Robot
0d8f996aa9 Merge pull request #124450 from muff1nman/handle-nil-k8s-client
apiserver/options: avoid segfault by handling unset core k8s client
2024-04-30 14:36:07 -07:00
Kubernetes Prow Robot
dd68c5f240 Merge pull request #124597 from TessaIO/fix-drain-error-message
fix: add whitespace to drain error message
2024-04-30 11:34:33 -07:00
Kubernetes Prow Robot
108fd24f51 Merge pull request #123396 from cyclinder/apiserver_datarace
Fix data race in apiserver mux handler
2024-04-30 09:24:14 -07:00
Kubernetes Prow Robot
02365ecec1 Merge pull request #124610 from wojtek-t/deflake_cacher_tests
Deflake watchcache tests
2024-04-30 04:45:27 -07:00
Kubernetes Prow Robot
d0fddf143b Merge pull request #122148 from pohly/controllers-context-support
controllers + apiserver: enhance context support
2024-04-30 01:30:09 -07:00
Kubernetes Prow Robot
6381e6504a Merge pull request #124572 from aojea/alpha_tag
tag TrafficDistribution tests to avoid running on clusters without th…
2024-04-29 14:46:59 -07:00
Kubernetes Prow Robot
c1ef6c44f5 Merge pull request #124562 from sbueringer/pr-bump-sigs-yaml
Bump sigs.k8s.io/yaml to v1.4.0
2024-04-29 12:51:32 -07:00
Kubernetes Prow Robot
84ac8a1bd2 Merge pull request #122026 from skitt/sets-go1.21
Use Go 1.21 Ordered and clear for sets
2024-04-29 12:51:18 -07:00
Patrick Ohly
b92273a760 apiserver + controllers: enhance context support
27a68aee3a introduced context support for events. Creating an event
broadcaster with context makes tests more resilient against leaking goroutines
when that context gets canceled at the end of a test and enables per-test
output via ktesting.

The context could get passed to the constructor. A cleaner solution is to
enhance context support for the apiserver and then pass the context into the
controller's run method. This ripples up the call stack to all places which
start an apiserver.
2024-04-29 20:59:21 +02:00
Anish Ramasekar
699d1f1b7a Remove unused NewSecure function in requestheader.go
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-04-29 11:19:54 -07:00
Patrick Ohly
591855966c sample controller: enhance context support
27a68aee3a introduced context support for events. Creating an event
broadcaster with context makes tests more resilient against leaking goroutines
when that context gets canceled at the end of a test and enables per-test
output via ktesting.

The New method already had a context, therefore no API changes are needed.
2024-04-29 19:13:15 +02:00
Kubernetes Prow Robot
dbb7004385 Merge pull request #121256 from liyuerich/workqueue
drop deprecated workqueue NewNamed package
2024-04-29 09:33:05 -07:00
Wojciech Tyczyński
6d9edcc694 Deflake watchcache tests 2024-04-29 15:15:24 +02:00
Kubernetes Prow Robot
4946c1fde2 Merge pull request #124483 from ah8ad3/etcd_feature_support
Add FeatureSupportChecker for etcd storage
2024-04-29 03:20:33 -07:00
ah8ad3
70e65eee46 Add FeatureSupportChecker for etcd storage 2024-04-29 11:23:48 +03:30
Christoph Mewes
e8b03d92d0 codegen 2024-04-29 09:14:59 +02:00
Christoph Mewes
2a5c21d0af alpha->beta 2024-04-29 09:14:58 +02:00
TessaIO
487f83500f fix: add whitespace for drain error message
Signed-off-by: ahmed.g <ahmed.g@adjoe.io>
2024-04-28 17:51:06 +02:00
Christoph Mewes
4ddf0cca1c fix stray +optional comment on persistentVolumeClaimRetentionPolicy 2024-04-28 10:33:29 +02:00
liyuerich
98dfaed4be drop deprecated workqueue NewNamed package
Signed-off-by: liyuerich <yue.li@daocloud.io>
2024-04-28 14:04:51 +08:00
Antonio Ojea
dbfa387922 tag service.spec.TrafficDistribution field as alpha 2024-04-27 11:19:06 +00:00
Kubernetes Prow Robot
3d49956fde Merge pull request #123795 from saschagrunert/metrics-remote-runtime
Decouple `kubelet/cri/remote` package from `kubelet/metrics`
2024-04-26 18:31:48 -07:00
Dr. Stefan Schimanski
7e0fea2331 kube-apiserver/aggregator: remove unused PeerCAFile in config
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-26 23:22:09 +02:00
Kubernetes Prow Robot
8718b33366 Merge pull request #124494 from brianpursley/FixSlowUnitTest-TestForceApply
Improve performance of TestForceApply unit test (k8s.io/kubectl/pkg/cmd/apply)
2024-04-26 10:50:38 -07:00
Stefan Bueringer
04cc45b4ad Bump sigs.k8s.io/yaml to v1.4.0 2024-04-26 15:42:44 +02:00