Antoine Pelisse
a7ab6b86db
Hide OpeAPI details behind the NewTypeConverter
...
The fact that we're building the OpenAPI using the proto.Models is an
implementation detail that we shouldn't have to expose. Since we're
going to change the way this is transformed, let's first hide it behind
the common NewTypeConverter so that the next change is transparent.
This will also enable other clean-ups like hiding the gvkParser which
shouldn't be exposed and prevent some refactoring.
2023-01-03 15:48:11 -08:00
Joseph Anttila Hall
7df98deda0
Bump konnectivity-client to v0.0.35
...
./hack/pin-dependency.sh sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.35
./hack/update-codegen.sh
./hack/update-vendor.sh
Manual adjustments:
vendor/modules.txt
cluster/gce/addons/konnectivity-agent/konnectivity-agent-ds.yaml
cluster/gce/manifests/konnectivity-server.yaml
2023-01-03 20:23:29 +00:00
Kubernetes Prow Robot
88c952d256
Merge pull request #114646 from jkh52/registerer
...
expose prometheus.Registerer so that we can hook into this from exter…
2023-01-03 12:13:33 -08:00
Catherine Fang
e98a28e5c7
Update doc about json tag is needed to generate informer externalverion package
2023-01-03 14:08:57 -05:00
Kubernetes Prow Robot
12c71fdf1c
Merge pull request #113542 from ardaguclu/fix-shortname-disperancy
...
Set singular names for core types to pass to discovery
2023-01-03 09:29:43 -08:00
Kubernetes Prow Robot
b532f2b3e7
Merge pull request #112136 from pacoxu/migrate-runtime-endpoint-flags
...
kubelet: migrate container runtime endpoint flag to config
2023-01-03 09:29:31 -08:00
Kubernetes Prow Robot
4e70155dbd
Merge pull request #114736 from andyzhangx/fix-tryUnmount
...
fix: tryUnmount should respect mounter.withSafeNotMountedBehavior
2023-01-03 05:37:30 -08:00
kkkkun
0b6e641810
Fix normal request metric verb correctly
...
Signed-off-by: kkkkun <scuzk373x@gmail.com >
2023-01-03 13:16:55 +00:00
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
chen zechun
94ea99dab4
Remove duplicate fmt.Sprintf for logging
2022-12-29 17:39:10 +08:00
andyzhangx
776bbbb320
fix: tryUnmount with SafeNotMountedBehavior
2022-12-29 08:58:31 +00: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
Paco Xu
160f015ef4
kubelet: add key encipherment usage only if it is rsa key
...
remove allowOmittingUsageKeyEncipherment as it is always true
Signed-off-by: Paco Xu <paco.xu@daocloud.io >
2022-12-27 16:04:25 +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
Patrick Ohly
8bcf26b575
k8s.io/component-base/logs: fix usage through Go flag package
...
api/v1.AddFlags only supports a pflag.FlagSet. The assumption was that code
which wants to use flag.FlagSet can use VisitAll to copy the flags. That works,
with one caveat: the flag.FlagSet help implementation will call String for the
zero value to determine whether the flag has a non-default value. This
currently leads to additional warnings at the end of the -help output:
panic calling String method on zero v1.verbosityLevelPflag for flag v: runtime error: invalid memory address or nil pointer dereference
panic calling String method on zero v1.vmoduleConfigurationPFlag for flag vmodule: runtime error: invalid memory address or nil pointer dereference
Supporting usage of methods with the zero value is good practice anyway and
thus gets added. This then avoids these panics.
2022-12-23 17:10:42 +01:00
Brian Pursley
6f08ab013c
portforward: Add unit test to cover stopChan usage
2022-12-23 10:11:21 -05: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
Han Kang
e13fc3701c
expose prometheus.Registerer so that we can hook into this from external sources
...
Change-Id: I0b4aa2218e309722a85143a50200e9e105020866
2022-12-21 13:40:55 -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
Jefftree
6b443c2304
Add jefftree to OWNERS
2022-12-20 19:30:42 +00: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
dengyufeng2206
df49c9f56f
fix test order in controller/openapi/builder/builderst.go
2022-12-19 09:20:06 +08:00