Kubernetes Prow Robot
ca858e0c96
Merge pull request #114236 from dgrisonnet/fix-eventseries-race
...
Fix data race when emitting similar Events consecutively
2023-01-02 08:39:30 -08:00
Kubernetes Prow Robot
2b6c8420a2
Merge pull request #114237 from dgrisonnet/handle-series-error
...
Retry when recording an EventSerie results in an AlreadyExist error
2023-01-02 05:43:30 -08:00
Kubernetes Prow Robot
136eb9c203
Merge pull request #114705 from thockin/codegen_subproject_cleanup
...
Cleanup codegen subproject scripts
2022-12-27 07:59:40 -08:00
Tim Hockin
0cba4a197d
Cleanup codegen subproject scripts
...
Mostly really small things like linewraps and quoting.
2022-12-26 16:09:08 -08:00
Kubernetes Prow Robot
e96337606d
Merge pull request #114681 from thockin/nix_comments_about_ipv6_not_ready
...
Remove old comments about IPv6 not being ready
2022-12-23 15:37:26 -08:00
Kubernetes Prow Robot
a4deb20a1d
Merge pull request #114030 from lauchokyip/fixApply
...
Removed factory from apply command flag struct
2022-12-23 11:13:27 -08:00
Tim Hockin
57b9656e2b
Remove old comments about IPv6 not being ready
2022-12-23 11:06:44 -08:00
Kubernetes Prow Robot
ad62f30673
Merge pull request #111988 from kkkkun/update-connnect-metrics
...
Differentiate CONNECT requests from other requests
2022-12-22 10:11:25 -08:00
Kubernetes Prow Robot
2bb77a13b1
Merge pull request #113730 from wojtek-t/generalize_cacher_tests_3
...
Reuse generic GetList test for watchcache and fix inconsistency issues for both etcd3 and watchcache
2022-12-22 01:29:25 -08:00
kkkkun
973f7c49b8
Fix CONNECT requests from others requests
...
Signed-off-by: kkkkun <scuzk373x@gmail.com >
2022-12-22 11:52:23 +08:00
Kubernetes Prow Robot
d2504c94a0
Merge pull request #114648 from liggitt/publishing-1.23
...
Update 1.23 publishing go version to go1.19.4
2022-12-21 17:51:26 -08:00
Kubernetes Prow Robot
815e651f39
Merge pull request #114645 from liggitt/publishing-1.24
...
Update 1.24 publishing go version to go1.19.4
2022-12-21 15:01:37 -08:00
Jordan Liggitt
09f7d54d0b
Update 1.23 publishing go version to go1.19.4
2022-12-21 17:54:07 -05:00
Kubernetes Prow Robot
020fb2eb77
Merge pull request #113538 from pohly/e2e-ginkgo-timeline
...
e2e: ginkgo timeline
2022-12-21 13:53:28 -08:00
Jordan Liggitt
badde798c4
Update 1.24 publishing go version to go1.19.4
2022-12-21 15:16:53 -05:00
Wojciech Tyczyński
34de5fa73d
Explicit sorting in TestList storage test
2022-12-21 08:45:27 +01:00
Wojciech Tyczyński
ef8c4fbca8
Reuse generic List test for watchcache
2022-12-21 08:45:27 +01:00
Wojciech Tyczyński
aaaee155dd
Fix lack of sorting of list results in watchcache
2022-12-21 08:25:37 +01:00
Wojciech Tyczyński
da8d197a72
Fix inconsistency in returning list results both in etcd3 and watchcache
2022-12-21 08:25:37 +01:00
Kubernetes Prow Robot
5882479457
Merge pull request #114585 from JoelSpeed/fix-resource-requirements-claims
...
Resource Claims must be a map type, not set
2022-12-20 12:11:24 -08:00
Joel Speed
e50e8a0c91
Resource claims should be a map type
2022-12-20 19:05:07 +00:00
Kubernetes Prow Robot
9b98d873f4
Merge pull request #114594 from pacoxu/remove-testdata-v1.24
...
drop the api testdata for v1.24.0
2022-12-20 08:59:54 -08:00
Kubernetes Prow Robot
b704b96565
Merge pull request #114578 from ardaguclu/wrap-ctx-error-until
...
Embed context deadline exceeded in error to let errors.Is can work
2022-12-20 08:59:43 -08:00
Patrick Ohly
f3ef400431
dependencies: update to ginkgo v2.6.1, gomega v1.24.2
...
Ginkgo v2.5.0 adds support for a "timeline": a full description of what happened
while a specific test ran, including failures, timeouts, and log output.
Ginkgo v2.6.0 adds ReportBeforeSuite which we need for
https://github.com/kubernetes/kubernetes/issues/114313 .
2022-12-20 07:55:51 +01:00
Paco Xu
329e76db26
drop the api testdata for v1.24.0
2022-12-20 09:37:36 +08:00
Kubernetes Prow Robot
0fdb14f63a
Merge pull request #114581 from pacoxu/v1.26.0-api-testdata
...
Add v1.26.0 API testdata
2022-12-19 12:15:44 -08:00
Kubernetes Prow Robot
eb34f69562
Merge pull request #114584 from soltysh/describe_cr
...
Skip .metadata.manageFields when describing unkown resources
2022-12-19 11:09:54 -08:00
Arda Güçlü
369534c6ec
kubectl wait: wire generic context ( #114574 )
...
* Wire generic context to better handle timeout
* Add integration test for wait timeout
* kubectl wait: Fix integration test always passing issue
Currently, `kubectl wait` integration test always passes even if
it gets an error. Problem is object check is done after errexit is
turned off.
This PR redirects error to output and correctly assures that
object is expected status and if it is not, test should fail.
2022-12-19 09:21:56 -08:00
Kubernetes Prow Robot
0783cf49e8
Merge pull request #114291 from MaxHorstmann/master
...
#79612 fix(client-go): return error in fake discovery
2022-12-19 09:21:44 -08:00
Maciej Szulik
8e3e3479d9
Skip .metadata.manageFields when describing unkown resources
2022-12-19 17:31:30 +01:00
Paco Xu
62a2c10c68
Add v1.26.0 API testdata
2022-12-19 21:46:20 +08:00
Arda Güçlü
6b7c365f8f
Embed context deadline exceeded in error to let errors.Is can work
...
Currently, watch package embeds context deadlineexceeded error
in it's own error using `%v`, as can be seen in here;
`fmt.Errorf("UntilWithSync: unable to sync caches: %v", ctx.Err())`
However, consumers of this function can not use
`errors.Is(err, context.DeadlineExceeded)` due this `%v`.
To let consumers can distinguish context deadlineexceeded errors,
this PR changes error embedding format to `%w`.
2022-12-19 16:16:53 +03:00
Chok Yip Lau
65eb7f1e0c
fixed error
2022-12-18 22:58:23 -05:00
Chok Yip Lau
cdd84a28bf
Removed factory from apply command flag struct
2022-12-18 22:45:58 -05:00
Jordan Liggitt
78cb3862f1
Fix indentation/spacing in comments to render correctly in godoc
2022-12-17 23:27:38 -05:00
Kubernetes Prow Robot
2f2021e208
Merge pull request #114412 from thockin/api_warn_workloads_name_not_dnslabel
...
Issue API warnings when workload names are not DNS labels
2022-12-16 18:07:41 -08:00
Kubernetes Prow Robot
0f7409a230
Merge pull request #114190 from tkashem/cors-refactor
...
refactor CORS handler
2022-12-16 13:08:09 -08:00
Tim Hockin
276c7e860d
Change DNS Label validation to check for dots
...
This will produce a better error message for the more common case of
using a DNS subdomain where a label is needed.
2022-12-16 13:01:02 -08:00
Julianne DeMars
94fd5bd553
Skip resize if fs is readonly ( #114325 )
...
* skip resize if fs is readonly
* run formatter + add log line for early return case
* fix error
2022-12-16 03:26:27 -08:00
Kubernetes Prow Robot
b44cbbdcb2
Merge pull request #114266 from dobsonj/vclib-index-out-of-range
...
legacy-cloud-providers: prevent index out-of-range in getNextUnitNumber
2022-12-15 13:21:36 -08:00
Kubernetes Prow Robot
843b40aeb4
Merge pull request #113985 from lavalamp/improved-has-synced
...
Propagate HasSynced properly
2022-12-15 12:15:47 -08:00
Kubernetes Prow Robot
3d3a180713
Merge pull request #113942 from mengjiao-liu/remove-feature-gate-expansion
...
Remove volume expansion feature gates
2022-12-15 10:05:38 -08:00
Abu Kashem
ea251b5605
apiserver: refactor cors filter
2022-12-15 08:59:10 -05:00
Abu Kashem
ae7327ab8e
apiserver: refactor cors unit test
2022-12-15 08:59:09 -05:00
Mengjiao Liu
ba9dbe3a07
Remove ExpandCSIVolumes feature gate
2022-12-15 11:43:44 +08:00
Daniel Smith
8100efc7b3
Enable propagration of HasSynced
...
* Add tracker types and tests
* Modify ResourceEventHandler interface's OnAdd member
* Add additional ResourceEventHandlerDetailedFuncs struct
* Fix SharedInformer to let users track HasSynced for their handlers
* Fix in-tree controllers which weren't computing HasSynced correctly
* Deprecate the cache.Pop function
2022-12-14 18:43:33 +00:00
Max Horstmann
b47748103a
client-go: properly return error in fake discovery ( #79612 )
...
Fake discovery should return an error if an error-returning reactor was prepended.
This is relevant e.g. for unit tests which test a function which relies
on discovery to check if an API Server is available.
Matches existing behavior of other fake types, for example fake_namespace.
Adds unit test coverage as well.
2022-12-14 11:41:10 -05:00
Ernest Wong
a4e4cec28f
Bump github.com/aws/aws-sdk-go to v1.44.147
2022-12-14 14:18:46 +00:00
xin.li
c95d5d5147
fix: remove ioutil for new go version
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2022-12-14 09:38:09 +08:00
Kubernetes Prow Robot
25efa7701a
Merge pull request #114459 from alexzielenski/apiserver/discovery/aggregator-deadlock
...
fix double lock and excercise its codepath in tests
2022-12-13 15:59:46 -08:00