Paco Xu
601fbee0aa
remove GAed FG GRPCContainerProbe
...
Kubernetes-commit: 7e7b67f2ccd38380120b6da2ccb10ae74970a7a6
2023-08-30 10:29:37 +08: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
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
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
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
Kubernetes Publisher
f579e1a195
Merge pull request #118677 from ardaguclu/local-support-empty-config
...
Gracefully handle empty config error when local flag is used
Kubernetes-commit: 0c7e1fbe9dee843ad59df092a7a60eea489eba49
2023-09-07 15:08:36 +00:00
guangli.bao
4f608e3655
bump: upgrade gorilla/websocket from v1.4.2 to v1.5.0
...
Kubernetes-commit: 93d93258b19ff3d2e85b5dc60e89df1ebdc689ca
2023-09-07 22:27:58 +08:00
Kubernetes Publisher
2f46880ac6
Merge pull request #119334 from kmala/serverapply
...
update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
Kubernetes-commit: cf8f9a8d07770352ec0e976ebac77dffa92f0b04
2023-09-07 05:29:40 +00:00
Matthias Riegler
90963a2f06
feat: make user-defined plugins discoverable with e.g. kubectl help ( #116752 )
...
* feat: make user-defined plugins discoverable with e.g. kubectl help
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
* fix: make help text localizable & rename it
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
* chore: address CRs, cleanup
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
* fix: plugin execution
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
---------
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
Kubernetes-commit: d7b7a85fbc0b3831cbc6a750a47dfdcdf777d519
2023-09-06 18:12:52 +02:00
Kubernetes Publisher
a51ca7c43d
Merge pull request #119157 from seans3/websocket-executor
...
WebSocket Client and V5 RemoteCommand Subprotocol
Kubernetes-commit: 6013381508d2d37961c95fd49d91642bfeffaf74
2023-09-06 03:12:11 +00:00
Kubernetes Publisher
a7dd95d9e9
Merge pull request #120119 from Ithrael/fix/kubectl-events-doesnt-filter-events-by-GroupVersion-for-resource-with-full-name
...
fix(kubectl): kubectl events doesn't filter events by GroupVersion fo…
Kubernetes-commit: 294bde0079a0d56099cf8b8cf558e3ae7230de12
2023-09-04 15:38:48 +00:00
Kubernetes Publisher
3b64cc566e
Merge pull request #120316 from dims/move-to-new-repo-for-reference
...
New repo who dis? distribution/reference
Kubernetes-commit: 03762cbcb52b2a4394e4d795f9d3517a78a5e1a2
2023-09-03 06:44:21 +00:00
Kubernetes Publisher
626d956ab6
Merge pull request #120118 from Ithrael/doc/kubectl-restart-without-specific-deployment-will-restart-all-deployments
...
doc(kubectl): Kubectl restart command without specific deployment wil…
Kubernetes-commit: 5dd4f1245cd6c2d5f58697b3ad3d8ab4b4d111ba
2023-09-01 18:45:17 +00:00
ithrael
3225b852aa
doc: Add example for restarting all deployments in a namespace
...
Kubernetes-commit: f4fc4b16b1d9837b4980850480421da318db04eb
2023-09-01 19:25:54 +08:00
Kubernetes Publisher
30772740ee
Merge pull request #120327 from liggitt/json-patch
...
Revert to json-patch 4.12.0
Kubernetes-commit: 34aaf2b972c95c7a3591d8d49c798dba348ee5c9
2023-09-01 09:11:40 +00:00
Kubernetes Publisher
2a258862e4
Merge pull request #117502 from Nordix/drain-improvements/adil
...
Adding more callbacks in kubedrain helper
Kubernetes-commit: 61d87fdb2e6c656f3d7123570c78ada5dca59079
2023-09-01 09:11:38 +00:00
Jordan Liggitt
fbb786d1e3
Revert to json-patch 4.12.0
...
Kubernetes-commit: 741f1461571007fcf4cf3edbd121d6ef0c596c72
2023-08-31 19:01:37 -04:00
Davanum Srinivas
1fb897b3e0
New repo who dis? distribution/reference
...
github.com/docker/distribution/reference has a new home github.com/distribution/reference
and a new tag v0.5.0. Let's switch to that.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: 889c8e919bdc8115ad579bb092a4dafdf695754e
2023-08-31 10:48:53 -04:00
Kubernetes Publisher
71b74708cf
Merge pull request #119537 from ardaguclu/kubectl-debug-cleaning
...
kubectl debug: Introduce customizable AttachFunc instead static one
Kubernetes-commit: 0b70423e243ea38be694a0e20dd7d9f19b06c09e
2023-08-29 21:03:07 +00:00