Commit Graph

3293 Commits

Author SHA1 Message Date
Jonathan Gonzalez V 430425021b bump golang.org/grpc to v1.56.3
Bumping golang.org/grpc in light of CVE-2023-44487.

Signed-off-by: Jonathan Gonzalez V <jonathan.abdiel@gmail.com>

Kubernetes-commit: a7adde53be415d5609288b3998ab67ee18be76a3
2023-10-19 14:58:49 -03:00
Davanum Srinivas 12b2dc638b working-config-otel
Signed-off-by: Davanum Srinivas <davanum@gmail.com>

Kubernetes-commit: 702d911e22604aa69b42f77804c27caaab7e4def
2023-10-18 18:47:37 -04:00
Alexander Zielenski d0e3ed461d pin openapi
Kubernetes-commit: 4d21a23be35a03852e0e7b188de11d9f8dc6bc57
2023-10-17 16:48:10 -07:00
Kubernetes Publisher a469079b0a Merge pull request #120195 from Ithrael/fix/error-handling-condition-in-test
fix(test): fix error handling condition in test

Kubernetes-commit: 0095ae3b259fc9fe273bac089411987835ee736b
2023-10-17 19:52:51 +00:00
Kubernetes Publisher ce4811fc2f Merge pull request #121010 from Jefftree/decouple-openapi-v2v3-config
Decouple openapi v2v3 config

Kubernetes-commit: ac66f3d466caee27bcc0f66a04ceec9bf63750bd
2023-10-16 23:58:45 +00:00
Kubernetes Publisher 7b29ca0b6c Merge pull request #121229 from aojea/remove_cluster_cidr
remove ClusterCIDR alpha API

Kubernetes-commit: 4d8a51acacaf0df9bfbaee8cd43f15dbdc85b146
2023-10-15 03:55:43 +00:00
Kubernetes Publisher 4480efc1fb Merge pull request #120248 from pacoxu/grpc-container-probe
remove feature gate GRPCContainerProbe

Kubernetes-commit: 43e617f2521e9f52156aba9822245a2b5eb773f1
2023-10-14 23:57:13 +00:00
Antonio Ojea 30ffb2dadb remove ClusterCIDR
KEP-2593 proposed to expand the existing node-ipam controller
to be configurable via a ClusterCIDR objects, however, there
were reasonable doubts on the SIG about the feature and after
several months of dicussions we decided to not move forward
with the KEP intree, hence, we are going to remove the existing
code, that is still in alpha.

https://groups.google.com/g/kubernetes-sig-network/c/nts1xEZ--gQ/m/2aTOUNFFAAAJ

Change-Id: Ieaf2007b0b23c296cde333247bfb672441fe6dfc

Kubernetes-commit: c2d473f0d438cedab2f1831d23457d24961e0f4e
2023-10-13 21:31:29 +00:00
Kubernetes Publisher eb3138bd9f Merge pull request #120735 from Jefftree/request-body
Bump kube-openapi with v3 marshal and requestBody required marking

Kubernetes-commit: e93e8eac0ef1b26384e5481b67c7d04fe211a243
2023-10-13 00:31:21 +00:00
Jefftree a623ac040f bump kube-openapi
Kubernetes-commit: e3098225eaf7b5bb9d5de1f259c2dbdc2062faa8
2023-10-12 18:22:05 -04:00
Kubernetes Publisher 7f2868f3ed Merge pull request #119665 from vinaykul/getpodqos-optimization
Perf optimization: GetPodQOS() returns persisted value of PodStatus.QOSClass, if set.

Kubernetes-commit: a2cc9db02fa6420c7905ef372cae6695fddb1120
2023-10-12 08:52:25 +00:00
Arda Güçlü 507fbad069 Add shortname ambiguity warning in shortcut expander (#117668)
* Add warning handler callback function in shortcut expander

Currently, errors in client-go are propagated back to the callers via
function returns. However, there is no elegant way for just warning users.
For example, when user wants to get a resource with it's short name format
and if there are multiple resources belonging to this short name, we need to
warn user about this ambugity which one is picked and which ones are discarded.

Not only to overcome this particular case mentioned above, but also propose a
way for the possible warnings in the future, this commit adds a warningHandler
callback function in shortcutExpander.

* Add warningPrinter functionality in ConfigFlags

ConfigFlags has neither warning user in a standardized
format functionality nor passing warning callback functions to other upper level
libraries such as client-go.

This commit adds an ability that user can set warningPrinters
according to their IOStreams and this warningPrinters will be used
to raise possible warnings happening not only in cli-runtime but
also in client-go.

* Pass warning callback function in ConfigFlags to shortcutExpander

This commit passes warning callback function to print possible
warnings happened in shortcut expander to warn user in a
standardized format.

* Add integration test for CRDs having ambiguous short names

This commit adds integration test to assure that warning message
related to this ambiguity is printed when resources are being retrieved via their short name
representations in cases where multiple resources have same
short names.

This integration test also ensures that the logic behind which resource
will be selected hasn't been changed which may cause disperancies in
clusters.

* Remove defaultConfigFlag global variable

* Move default config flags initialization into function

* Skip warning for versions of same group/resource

* Run update-vendor

* Warn only once when there are multiple versions registered for ambiguous resource

* Apply gocritic review

* Add multi-resource multi-version ambiguity unit test

Kubernetes-commit: a504aed54d028dbc8ea2508142c94d309f5f1ec6
2023-10-11 19:58:38 +00:00
Kubernetes Publisher 6060f231cb Merge pull request #121111 from dashpole/update_otel_deps
Update OpenTelemetry Dependencies

Kubernetes-commit: eafebcc9e368d6aeaab0ce5ec4fd56b94174d0c4
2023-10-11 07:59:21 +00:00
John Howard 53059d67bc dependencies: update otel-go dependencies
Kubernetes-commit: dc334b953d99f233b56ec2cd78bff218a00152a0
2023-10-05 12:52:33 -07:00
Kubernetes Publisher 6a40eadf4b Merge pull request #121117 from MadhavJivrajani/bump-x-net
[CVE-2023-39325] .: bump golang.org/x/net to v0.17.0

Kubernetes-commit: 7ee2af5cc5fee6a6f837975a70a35ce681a8e9d4
2023-10-10 20:00:39 +00:00
Madhav Jivrajani d35c2e8ddf .: bump golang.org/x/net to v0.17.0
Bumping golang.org/x/net in light of CVE-2023-39325 and CVE-2023-44487.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>

Kubernetes-commit: fc7c951d5a5b8b75dfa105e3bea7bbddaf4c792e
2023-10-10 23:07:19 +05:30
Kubernetes Publisher f0c21d5c66 Merge pull request #121082 from pohly/ginkgo-gomega-update
dependencies: ginkgo v2.13.0, gomega v1.28.0

Kubernetes-commit: 755644a169ad495a34bc5e1db502962fc6dd3750
2023-10-10 16:00:26 +00:00
Kubernetes Publisher 4b4bed25b3 Merge pull request #119443 from SataQiu/fix-kubectl-20230719
kubectl: ensure '--duration' must be positive for 'kubectl create token' command

Kubernetes-commit: 46860a27cc1e2e80ec6f0b536203850ca7ccb72c
2023-10-10 00:19:31 +00:00
Patrick Ohly b2260abf49 dependencies: ginkgo v2.13.0, gomega v1.28.0
Besides simply staying up-to-date, ginkgo v2.13.0 adds a `PreviewSpecs` which
will be used for introspection of the E2E test suites.

Kubernetes-commit: 79355caa565cc34e8726c427562c9f109ebe0e34
2023-10-09 19:27:06 +02:00
SataQiu 582f2b8418 kubectl: ensure '--duration' must be positive for 'kubectl create token' command
Kubernetes-commit: 4a8267f26bea6d47801ea8a18bf2635443de1a46
2023-10-07 11:19:33 +08:00
Kubernetes Publisher 654e18cb7b Merge pull request #119303 from abidmunirmalik/kubectl_doc_fix
fixes the issue in the documentation of kubectl events

Kubernetes-commit: 0b63390addcb372b5f7d0a7f9fd28e0758e5684d
2023-10-01 19:03:33 +00:00
Kubernetes Publisher b67052c752 Merge pull request #120716 from xrstf/fix-typos
Fix typos

Kubernetes-commit: 622509830c1038535e539f7d364f5cd7c3b38791
2023-09-30 11:10:41 +00:00
Kubernetes Publisher 302f330c87 Merge pull request #119865 from charles-chenzz/bump_deps
bump github.com/emicklei/go-restful/v3 to v3.11.0

Kubernetes-commit: bf1fa0c6691bb3bc6c5c03f900c53ed609e580a4
2023-09-28 16:20:00 +00:00
Jefftree de9ccdd79b bump kube-openapi
Kubernetes-commit: 555c1b8091c2312e7b3f9002fc8a4787e759ef31
2023-09-27 14:02:53 -04:00
Majid Garoosi 7ce6599fc1 Check --show-events in kubectl describe pvc (#120380)
* Check --show-events arg before fetching events

* Remove unnecessary else statement

* Add test for false show events

Kubernetes-commit: a919079ff3132a070909e9286674b0b0d8672377
2023-09-18 11:50:30 +03:30
Christoph Mewes 8b210a3504 fix typo exeucting => executing
Kubernetes-commit: b59d4afd14e14ee8d41b6081966514e7f11c8627
2023-09-17 11:27:57 +02:00
Christoph Mewes f7937ee1e4 fix typo dervied => derived
Kubernetes-commit: 62275e3cc8c7de6f852bb04ba6cf521d36443580
2023-09-17 11:26:19 +02:00
Christoph Mewes 7de41ef887 fix typo Mininum => Minimum
Kubernetes-commit: 79a7833ade0f43b2a28b15444429d116da5c9408
2023-09-17 11:24:29 +02:00
Christoph Mewes 564480672d fix typo Conext => Context
Kubernetes-commit: 6e3ebdc68e769fb09747a72f223b41737f8c9f1a
2023-09-17 11:18:43 +02:00
Kubernetes Publisher 19409f86a9 Merge pull request #119526 from sttts/sttts-idiomatic-cached
kube-openapi/cached: bump and adapt to more go-idiomatic caching library

Kubernetes-commit: f551940626532e790c05094293e0d8bb5b76e3d5
2023-09-15 23:21:34 +00:00
Kubernetes Publisher c96e079228 Merge pull request #118942 from justinsb/switch_kubectl_prune_annotation
kubectl prune v2: switch to contains-group-kinds annotation

Kubernetes-commit: 963400f1a2a1fc6c8650115c0372366ad3429b68
2023-09-15 19:06:43 +00:00
Dr. Stefan Schimanski a041ac5115 hack/update-vendor.sh
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>

Kubernetes-commit: 6c59e8be5e2bc97c8e850070ffb3025199c05df2
2023-09-13 08:23:06 +02:00
Arda Güçlü 55333c0817 KEP-3895: Promote interactive delete to beta
Kubernetes-commit: e8564d6c5bcf5757238176f90318ae0164274af9
2023-09-05 10:40:12 +03:00
tao.yang 67ef0ca456 cleanup: omit comparison with bool constants
Signed-off-by: tao.yang <tao.yang@daocloud.io>

Kubernetes-commit: b35357b6c08f21ba0fd312536051394c2567ec79
2023-09-04 16:59:23 +08:00
Paco Xu 601fbee0aa remove GAed FG GRPCContainerProbe
Kubernetes-commit: 7e7b67f2ccd38380120b6da2ccb10ae74970a7a6
2023-08-30 10:29:37 +08:00
ithrael 84a37fbc5d fix(test): fix error handling condition in test
Kubernetes-commit: d680bc540b5703510c95b9290bfb4317edc7b2e9
2023-08-27 21:11:39 +08:00
chansuke 021f2d92ba Update the URL of testgrid
Kubernetes-commit: 6ef90979720816b4761d77be09cde5e6045143c6
2023-08-17 23:54:47 +09:00
charles-chenzz 898fa15b6a bump github.com/emicklei/go-restful/v3 to v3.11.0.
Kubernetes-commit: 409b46576ff7848bf51b9d70165b693018173ebc
2023-08-09 23:31:06 +08:00
Vinay Kulkarni 3eb40ffbb0 Update pkg/apis/core/helper/qos/qos.go
Co-authored-by: Itamar Holder <77444623+iholder101@users.noreply.github.com>

Kubernetes-commit: 40b604e374144351eac463e7077fdb1903f5a033
2023-08-07 10:52:26 -07:00
vinay kulkarni cacd4f8556 Code review fix: Move GetPodQOS code to ComputePodQOS. If set, return PodStatus.QOSClass from GetPodQOS.
Kubernetes-commit: 4063ca40501ce589b4de1ffa5cc814cd9e03e0ac
2023-08-07 14:42:36 +00:00
vinay kulkarni 35d73b6cda Perf optimization: Move away from GetPodQOS, using PodStatus.QOSClass instead
Kubernetes-commit: 5d4410b9601f27942fa1d1a4e65c2aa3a65637b1
2023-07-29 13:30:09 +00:00
Abid Malik 64fc8b1f67 fixes the issue in the documentation of kubectl events
Signed-off-by: Abid Malik <AbidMunirMalik@gmail.com>

Kubernetes-commit: d8c145d20da7906722798218652583dea34b48bb
2023-07-13 13:10:33 -04:00
Sean Sullivan 969a47ceed StreamTranslator and FallbackExecutor for WebSockets
Kubernetes-commit: 168998e87bfd49a1b0bc6402761fafd5ace3bb3b
2023-07-06 21:22:07 -07:00
justinsb eda2d31bdd kubectl prune v2: switch to contains-group-kinds annotation
The contains-group-resources was an implementation error, we specified
contains-group-kinds in the KEP.

Because it is in alpha, we simply switch to the new annotation.

We will recognize the old annotation and migrate existing alpha
applysets, but support for this migration can be removed in beta/GA of
applyset.

Kubernetes-commit: 10caecb3b22cf93c7caa2ac70d40af9b550c0da2
2023-06-28 11:27:00 -04:00
Kubernetes Publisher 33795a4293 Merge pull request #120506 from alexzielenski/import-restrictions
Update e2e import restrictions

Kubernetes-commit: a68093a3ffb5525b01c0deec9d34c25595c7400a
2023-09-14 07:06:01 +00:00
Majid Garoosi 663031e23e Look for pods in ownerReferences of PVC (#120427)
* Look for pods in ownerReferences of PVC

* Implement for loop instead of using slices package

* Add tests for getPodsForPVC function

* Make PVC names consistent

* Remove volumes part of the pvc owner pod

* Do not store result of append in another variable

* Fix lint error

Kubernetes-commit: 710dceded51d5cf65bc27bca0b0c96f05909b65b
2023-09-13 20:15:30 +00:00
Kubernetes Publisher ac00f9091c Merge pull request #120008 from skitt/drop-intstr-ptr-wrappers
Use ptr.To to retrieve intstr addresses

Kubernetes-commit: 33c5bd631d990f907f89f66cdf8088d252ab251b
2023-09-09 19:18:31 +00:00
Kubernetes Publisher d17fe37375 Merge pull request #120499 from tukwila/gorilla/websocket_v1.5.0
bump: upgrade gorilla/websocket from v1.4.2 to v1.5.0

Kubernetes-commit: f6a87aebe6f83336b1dc7d4ca6e69b19ca55cd94
2023-09-08 19:31:05 +00:00
Kubernetes Publisher cb14bf83e4 Merge pull request #119934 from letmerecall/fix-testgrid-links
Fix broken links to testgrid dashboard

Kubernetes-commit: c1628f3b6f72b5666058e24175decdaffb09fdac
2023-09-07 19:05:21 +00:00
Alexander Zielenski fba54d4820 pin gengo
Kubernetes-commit: 8451c80b601c36ece898fcd996efc370d4e806c3
2023-09-07 09:49:30 -07:00