Stephen Kitt
713b7e79c0
Use canonical json-patch v4 import
...
The canonical import for json-patch v4 is
gopkg.in/evanphx/json-patch.v4 (see
https://github.com/evanphx/json-patch/blob/master/README.md#get-it for
reference).
Using the v4-specific path should also reduce the risk of unwanted v5
upgrade attempts, because they won't be offered as automated upgrades
by dependency upgrade management tools, and they won't happen through
indirect dependencies (see
https://github.com/kubernetes/kubernetes/pull/120327 for context).
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: 5300466a5c8988b479a151ceb77f49dd00065c83
2024-02-16 13:57:24 +01:00
Stephen Kitt
6b5d9dfa70
Update kubectl kustomize to kyaml/v0.17.1, cmd/config/v0.14.1, api/v0.17.2, kustomize/v5.4.2
...
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: 33c6f6bc65395aa514c9cf17115a1c63564c22e7
2024-05-27 17:42:29 +02:00
Jaime Caamaño Ruiz
9957529f9c
Describe NetworkPolicy port ranges
...
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@redhat.com>
Kubernetes-commit: aa0e47e863293215db794d6cb5978945e76fe3e2
2024-02-15 12:00:47 +00:00
mochizuki875
916a6ea031
Add keep options
...
Kubernetes-commit: b63fa1300ca99e65cbb8797c0128f3c1c1d1ef9f
2024-02-06 07:19:23 +00:00
Arda Güçlü
64a1fe556b
Add new --wait-for-creation flag in kubectl wait command
...
kubectl wait command errors out when the waited resource does not exist.
But we need to provide a way to the users about intentionally also waiting for
the creation of resources.
This PR introduces a new flag to cover waiting for the creation of resources
with preserving the default behavior.
Kubernetes-commit: e24b9a022f3b1e97ea538c9754d4d38f119f275e
2024-01-26 15:53:55 +03:00
Yihao Wang
9a6ad3e08e
Fix typo in i18n usage examples
...
Kubernetes-commit: e9c30951051b66bb5050d0d5bf622d4ef7a4481c
2024-01-17 13:12:21 +13:00
Arda Güçlü
49f3ec973c
Add e2e test for kubectl interactive delete
...
Kubernetes-commit: 7faa8bbac3bbd36a4ee680e6f82460d587186139
2024-01-09 10:12:42 +03:00
lowang-bh
733ee4d85e
show pod Status as phase Failed or Succeeded if it has deletionTimestamp
...
Signed-off-by: lowang-bh <lhui_wang@163.com>
fix according to comments
Signed-off-by: lowang-bh <lhui_wang@163.com>
Kubernetes-commit: 4bd3274f433cc37bde2cff5875d61108cc97a7d2
2023-11-25 21:01:41 +08:00
Arda Güçlü
14d23cc879
Add custom debug profiles on top of static profiles
...
This PR adds `custom` flag to let user customizes debug resources.
`custom` flag accepts partial container spec in json format.
Kubernetes-commit: af2dadcb18a0411a0f9aa286c743801efdb81049
2023-09-01 11:46:01 +03:00
Kubernetes Publisher
2855ed117e
Merge pull request #123413 from seans3/tunneling-spdy-websockets
...
PortForward: Tunnel SPDY through WebSockets
Kubernetes-commit: f745503112e06d6ff199e929d536c6a29825c01a
2024-03-05 06:16:59 +00:00
Sean Sullivan
18888dae3e
adds comments to tunnelingResponseWriter
...
Kubernetes-commit: 3d56ff21fd3c9c9da82ff22044691ef0671ac7b6
2024-03-04 11:10:17 -08:00
Sean Sullivan
1ac3b7558a
adds return context in RunPortForward()
...
Kubernetes-commit: 9e1546284302c66fda0bae12fc301ee8acf39933
2024-03-01 21:10:32 -08:00
Sean Sullivan
858d3a5b72
portforward: tunnel spdy through websockets
...
Kubernetes-commit: 8b447d8c97e8823b4308eb91cf7d75693e867c61
2024-02-21 08:56:07 +00:00
Kubernetes Publisher
ecc9600ea2
Merge pull request #123529 from thockin/go-workspaces
...
Go workspaces for k/k and k/staging/*
Kubernetes-commit: df366107d16aa2e2cdd620be41e592184f379da4
2024-03-01 22:21:19 +00:00
Craig Newton
0f1712d674
Add namespace to NotFound error for kubectl logs command ( #120111 )
...
Signed-off-by: Craig Newton <newtondev@gmail.com>
Kubernetes-commit: 20b28312ea9278c7b93340d0eca71023c45a43b3
2024-03-01 16:16:48 +00:00
Kubernetes Publisher
c39218876d
Merge pull request #123565 from ah8ad3/update-help-text-kubectl-create-token
...
Implement to accept zero as a default value for kubectl create token duration
Kubernetes-commit: 6f42da171b952cb502245a25bbba3c384df3aeb7
2024-03-01 09:02:12 +00:00
Tim Hockin
fb0d60bd81
Fix up go.mod files after reviews
...
Because of how the previous 100+ commits were done, so changes snuck
thru that properly belong in earlier commits but it's not really
possible to do that without a lot of effort.
We agreed it was OK to "spackle" these cracks with a final commit.
Kubernetes-commit: 21715e6bbd19c932576ff268843d8ead3edb05e4
2024-02-28 16:50:55 -08:00
ah8ad3
0184416a0c
cleanup: add zero as a value for token create duration and act as default, added test, updated the help text
...
change duration validator text message in create token
unit bug fixed
Kubernetes-commit: 3b5a79f6471309055090b123a6f88197217e9276
2024-02-28 21:52:58 +03:30
Kubernetes Publisher
dc117ccb86
Merge pull request #123281 from seans3/remote-command-websocket-beta
...
RemoteCommand over WebSockets to Beta
Kubernetes-commit: f7ca532472f035db2aedc8a1f86639dfd1dc596f
2024-02-28 17:25:45 +00:00
Tim Hockin
a17735c5a5
Remove old gengo detritus
...
Kubernetes-commit: 812d5fff4011df4693dcdace516feec30ebff8ba
2024-02-26 23:31:41 -08:00
Tim Hockin
ec7f2aed54
Re-vendor latest kube-openapi and gengo/v2
...
./hack/pin-dependency.sh k8s.io/kube-openapi latest
./hack/pin-dependency.sh k8s.io/gengo/v2 latest
./hack/update-vendor.sh
Kubernetes-commit: 6f2f3735e04df5e4822176a2784069634c3c74a3
2024-02-26 17:02:22 -08:00
Sean Sullivan
2b8ea3563c
remote command turn on feature gates
...
Kubernetes-commit: a147693deb2e7f040cf367aae4a7ae5d1cb3e7aa
2024-02-13 14:10:40 -08:00
Kubernetes Publisher
acf4a09f2d
Merge pull request #123348 from hoskeri/update-go-x-crypto-19
...
Update x/crypto to 0.19.
Kubernetes-commit: 9a9028983806af26e7b48223f3a92922e94725df
2024-02-21 21:10:21 +00:00
Kubernetes Publisher
10f0d20be6
Merge pull request #123392 from thockin/depreciate
...
Cleanup: s/depreciated/deprecated/g
Kubernetes-commit: 11785bb815d58eb553be3a1fa305464c35d860cc
2024-02-21 13:09:33 +00:00
Tim Hockin
18e7a287d1
Cleanup: s/depreciated/deprecated/g
...
Kubernetes-commit: 9f4b82bf3b079fe868effbd2498b61464db6d459
2024-02-18 14:50:55 -08:00
Abhijit Hoskeri
3217641329
Update x/crypto to 0.19.
...
Main reason is to pick up updated CA roots.
Full diff: https://github.com/golang/crypto/compare/v0.16.0...v0.19.0
Kubernetes-commit: d3a0e296defbb0b55e591e273004e79e7ebfb1fd
2024-02-16 20:18:14 +00:00
Kubernetes Publisher
0e715866c7
Merge pull request #123250 from benluddy/dep-bump-cbor-v2.6.0
...
Bump github.com/fxamacker/cbor/v2 to v2.6.0.
Kubernetes-commit: e305e773bbfe8c5bdf9c57881a875e168b004b8c
2024-02-15 02:14:21 +00:00
Ben Luddy
a03f363d8c
Bump github.com/fxamacker/cbor/v2 to v2.6.0.
...
Kubernetes-commit: aac43dc96f2b679f0ab030fd3512c7e03b0f2df4
2024-02-12 15:46:17 -05:00
Kubernetes Publisher
c689318b81
Merge pull request #121486 from benluddy/cbor-stub
...
KEP-4222: Add stub CBOR serializer.
Kubernetes-commit: 48228bf9dbac308f43abd59a53fdc069fbddee0f
2024-02-10 02:41:06 +00:00
Kubernetes Publisher
c077418362
Merge pull request #123023 from ah8ad3/fix-kubectl-explain-show-enum
...
Fix kubectl explain to shows enum for field types if they were defined
Kubernetes-commit: 012f04b178a44c0002b0f3ded6cc43788daf9139
2024-02-09 06:51:17 +00:00
José Carlos Chávez
65a57a36aa
chore: adds consistent vanity import to files and provides tooling for verifying and updating them. ( #120642 )
...
* chore: drops update vanity imports from script.
* chore: changes copyright year to 2024.
* chore: makes lint happy.
Kubernetes-commit: 6d6398ef9266abce3518a4c9a3d4e4d8feeffdc1
2024-02-08 15:58:16 +00:00
ah8ad3
2ee8f95181
add some comments, redesign style of enums in simple and long view, fix tests to these new changes
...
Kubernetes-commit: c82c80099d8217b2a3431beeba7c83c52314af37
2024-02-01 14:46:05 +03:30
ahmad.zo
c4d840c46e
change the extractEnum function to add limit, intent and add tests for new behaviours
...
Kubernetes-commit: 9d4997ea69eb1d33572f292effe1969376df79f4
2024-01-31 13:54:53 +03:30
ahmad.zo
16b821ae90
fix gofmt error
...
Kubernetes-commit: 0283498ab408294fabd2ddf3c919f81b954ba425
2024-01-30 11:23:41 +03:30
ahmad.zo
9d1817215f
change style of enums
...
Kubernetes-commit: 0c7281624ea5b489ef8e7354be7b968a4f5aef5d
2024-01-30 10:01:12 +03:30
ah8ad3
f17e427a18
fixes kubectl explain to shows enum for field types if they were defined
...
Kubernetes-commit: c222db1429ea3699464edec5ce7a0b0a7fa4b9fb
2024-01-29 19:51:35 +03:30
ah8ad3
60b309860d
fixes kubectl explain to shows enum for field types if they were defined
...
Kubernetes-commit: 2216361c59e9e4863fb83b903a6fc14893c16e67
2024-01-29 19:27:27 +03:30
Kubernetes Publisher
b73518af09
Merge pull request #119200 from eiffel-fl/francis/sysadmin-debug-profile
...
kubectl debug: add sysadmin profile
Kubernetes-commit: 4163ce5017268b0ae25df327f0a210032ef1cc80
2024-01-25 09:56:28 +00:00
Kubernetes Publisher
97bd96adbc
Merge pull request #122618 from ivanvc/improve-describe-job-output
...
describer: improve job and pod template output
Kubernetes-commit: cf2003fde41756d1d16fcb2d941a86708e8c5460
2024-01-23 21:57:12 +00:00
Kubernetes Publisher
9e4e16118e
Merge pull request #122842 from pohly/klog-update
...
dependencies: klog v2.120.1
Kubernetes-commit: b27b56a46c4c1e6be0dc2b1a0230d86223a7e903
2024-01-18 22:06:15 +00:00
Kubernetes Publisher
52a1a774ea
Merge pull request #122839 from pohly/ginkgo-gomega-update
...
dependencies: ginkgo v2.15.0, gomega v1.31.0
Kubernetes-commit: c82da711b0e2184f851675aac4596bbd0f74763f
2024-01-18 22:06:14 +00:00
Patrick Ohly
22db5a11df
dependencies: klog v2.120.1
...
Kubernetes-commit: e2222f1e304831cbbc57b61afa373612297055fb
2024-01-18 16:58:40 +01:00
Patrick Ohly
3a4f05a7c9
dependencies: ginkgo v2.15.0, gomega v1.31.0
...
The main reason for updating is support for reporting the cause of context
cancellation: Ginkgo provides that information when canceling a context and
Gomega polling code includes that when generating a failure message.
Kubernetes-commit: 18f0af1f000f95749ca1ea075d62ca89e86bb7da
2024-01-18 12:45:55 +01:00
Kubernetes Publisher
d178a0367b
Merge pull request #122523 from yasindce1998/secret-fix
...
fix: create tls secret cert to crt for --cert flag
Kubernetes-commit: 1e136ef8a0b2eaec6abe7a30bff6dc0abfd3f7dd
2024-01-18 09:58:33 +00:00
Vandit Singh
3731515d71
Negative index regression test for json-patch ( #122625 )
...
* add testcase with negative index
* exercise successful negative index patching
* use different values for testing
Co-authored-by: Chris Bandy <bandy.chris@gmail.com>
---------
Co-authored-by: Chris Bandy <bandy.chris@gmail.com>
Kubernetes-commit: 83ff8a2f49f820fb355b24c65b8629710dca8a54
2024-01-18 09:58:32 +00:00
Kubernetes Publisher
2d05e1425e
Merge pull request #122640 from carlory/kubectl-describe-vac
...
kubectl: vac support ResourceDescriber
Kubernetes-commit: 8bc0ed16cd8a4c966f6822c96fafc7bd2b1eb2ea
2024-01-15 09:58:24 +00:00
Kubernetes Publisher
136d701b1b
Merge pull request #122706 from pacoxu/klog-upgrade
...
bump klog to v2.120.0
Kubernetes-commit: 823ecb58f68fbe0a4b37b32e11e75c6f2e0f467c
2024-01-11 22:06:39 +00:00
Paco Xu
6672d5762a
bump klog to v2.120.0
...
Kubernetes-commit: 3c86d21316c25b52a1cf3f9703a0bc2cbe97131c
2024-01-11 17:35:07 +08:00
Kubernetes Publisher
9079505b81
Merge pull request #122574 from brianpursley/kubectl-1532
...
Fix kubectl drain error handling bug.
Kubernetes-commit: 56ecdadd99aaee518fd9dde45f7c6b81f44d3785
2024-01-09 17:57:35 +00:00
carlory
654e5eb2dc
vac support ResourceDescriber
...
Co-authored-by: Arda Güçlü <aguclu@redhat.com>
Kubernetes-commit: d2b16b2a21c0669f9a7b60efbd632da25aef8f19
2024-01-08 18:45:06 +08:00