Commit Graph

3210 Commits

Author SHA1 Message Date
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
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
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
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
Kubernetes Publisher 188da45fa7 Merge pull request #120218 from rakshitgondwal/feat/protobuf-version-update
feat: update google.golang.org/protobuf to v1.31.0

Kubernetes-commit: 8b4f5bb54b3c2f0e671e87f5038bf3257109edd4
2023-08-29 17:21:27 +00:00
Rakshit Gondwal 6466bd3b4e feat: update google.golang.org/protobuf to v1.31.0
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>

Kubernetes-commit: 709721e0df1940f0316f6b81e8ceaeb493634400
2023-08-28 23:38:32 +05:30
Arda Güçlü 53768a14a7 Add comment about why AttachFunc be overridable
Kubernetes-commit: fa37bebcd4b239cc5ad8eb3899d9868b015b34de
2023-08-28 08:36:32 +03:00
ithrael 296dae746e fix(kubectl): kubectl events doesn't filter events by GroupVersion for resource with full name
Kubernetes-commit: 28621f1eb3f3a9ba212c844db4696f7f17450942
2023-08-23 11:34:44 +08:00
ithrael e01bb717e0 doc(kubectl): Kubectl restart command without specific deployment will restart all deployments
Kubernetes-commit: 79466886a179d61b94e0ba0aa9bc39622849448f
2023-08-23 11:22:53 +08:00
Stephen Kitt faf0c761da Use ptr.To to retrieve intstr addresses
This uses the generic ptr.To in k8s.io/utils to replace functions and
code constructs which only serve to return pointers to intstr
values. Other uses of the deprecated pointer package are updated in
modified files.

Signed-off-by: Stephen Kitt <skitt@redhat.com>

Kubernetes-commit: aa89e6dc978bf88653d893284248039b776aed54
2023-08-17 12:12:12 +02:00
git-jxj 826006cdb9 cleanup: Update deprecated FromInt to FromInt32 (#119858)
* redo commit

* apply suggestions from liggitt

* update Parse function based on suggestions

Kubernetes-commit: a5b3a4b738e9576b68c3083de8b72002e0b45551
2023-08-16 21:07:06 +00:00
Kubernetes Publisher bc9397b64f Merge pull request #119509 from tzneal/fix-describe-node-with-sidecars
kubectl: fix describe node output when sidecars are present

Kubernetes-commit: 12bd9bfba9311f50efa1ab376d30e0a208734771
2023-08-16 21:07:03 +00:00
Kubernetes Publisher f8c6b2ac72 Merge pull request #119618 from skitt/use-intstr-parse
Use intstr.Parse instead of reimplementing it

Kubernetes-commit: 09cab7d52156773a64f286c6eb00cf0623fb8f46
2023-08-16 05:17:30 +00:00
Kubernetes Publisher 0266cec8bc Merge pull request #118748 from andreaskaris/kubectl-wait-for
Kubectl: Improve conditionFuncFor expression parsing for wait --for jsonpath

Kubernetes-commit: d486180eb050c756d9add30377980eced146ffa1
2023-08-16 01:31:46 +00:00
letmerecall 5aeb89205f Fix broken link to testgrid
Kubernetes-commit: 4fb0ce283775b708403c25fa9fb7c461a2673109
2023-08-14 13:53:49 +05:30
Kubernetes Publisher 3d8ca1bc77 Merge pull request #119725 from MadhavJivrajani/bump-net-dep
[CVE-2023-3978] .*: bump golang.org/x/net to v0.13.0

Kubernetes-commit: 1620473a9a01dd6bbef3398c0acb2e581d0a13c3
2023-08-07 22:50:31 +00:00
Madhav Jivrajani 0e276a42fc .*: bump golang.org/x/net to v0.13.0
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>

Kubernetes-commit: 1b90dff5276f3cb37236b446f1821175dad802c4
2023-08-02 11:11:22 +05:30
Arda Güçlü 1e115c1960 kubectl debug: Remove legacy server support
Legacy server support for ephemeral containers were added in kubetl
debug in 1.22. Since now we are in 1.29, we can safely remove ephemeral
container legacy server support because 1.22 is already far away from
supported version skew boundary.

Kubernetes-commit: fdea6ad17d74c7f39e55d4ae2b57f2430c12eaba
2023-07-24 15:32:26 +03:00
Arda Güçlü 366796b7e2 kubectl debug: Introduce customizable AttachFunc instead static one
Currently, kubectl debug statically relies on handleAttachPod function
in order to attach to the pod.
However, external tools would want to set their own customized attach
function and this commit introduces generic `AttachFunc` function interface
which can also override by external tools.
From the point of kubectl debug, there is no functionality change.

Kubernetes-commit: baed6240468250c855a5ec235e47a64e078bd042
2023-07-24 15:28:21 +03:00
Todd Neal f5a7ea080f kubectl: fix describe node output when sidecars are present
Update the resource calculation so that it accumulates the resources
from scheduled pods correctly when those pods contain restartable
init containers.

Kubernetes-commit: 479b2d03a4369b8ae4565ba73850c703331cdcc5
2023-07-21 09:02:11 -05:00
Kubernetes Publisher 197123726d Merge pull request #119256 from brianpursley/kubectl-1409
Prefer pods without a deletion timestamp over pods with a deletion timestamp when getting an ordered list of active pods

Kubernetes-commit: 4575facd23b984c05ed02aac8715cc64b99de148
2023-07-18 18:52:46 +00:00