Kubernetes Publisher
67016c7205
Merge pull request #115075 from aojea/ipaddress
...
IPAddress allocator
Kubernetes-commit: f44d561c1f8c327bdf2ff3bff175bd10d161454c
2023-03-15 11:18:36 +00:00
Kubernetes Publisher
5de08c8b99
Merge pull request #116598 from natasha41575/updateKustV5
...
Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0…
Kubernetes-commit: 6df64241d03cdf0c26137fceda3c39cb9775178c
2023-03-15 11:18:31 +00:00
Kubernetes Publisher
97de9e3e9a
Merge pull request #116539 from pohly/ginkgo-gomega-update
...
dependencies: ginkgo v2.9.1, gomega v1.27.3
Kubernetes-commit: f22504a9bafd5e34d86853a816d10578376aadc2
2023-03-15 11:18:28 +00:00
Kubernetes Publisher
c59a64b78f
Merge pull request #116390 from alexzielenski/kubectl/explain/openapiv3/on-by-default
...
kubectl explain: use openapiv3 by default
Kubernetes-commit: 900278dd415baf686a4964ce0c9b60782996c95c
2023-03-15 11:18:22 +00:00
Kubernetes Publisher
2cd0510aa3
Merge pull request #116580 from justinsb/applyset_refactor
...
kubectl prunev2: Refactor the applyset to be more reusable
Kubernetes-commit: 3c6ad6df1dabc63d6213023c57f3da320c58f7e9
2023-03-15 11:18:17 +00:00
Kubernetes Publisher
6c3793b910
Merge pull request #116579 from justinsb/kubectl_diff_split_tracker_from_prune
...
kubectl diff: refactor tracker into a separate type
Kubernetes-commit: a99779eb634c0922d32be2d2ad60d8ade66df91a
2023-03-15 11:18:12 +00:00
Kubernetes Publisher
29dbe7511f
Merge pull request #116595 from MadhavJivrajani/bump-kubectl-subresource-beta
...
kubectl: Change subresource flag to beta
Kubernetes-commit: 9c2d28f7d55a5210d02b9a3c7dc6449b9e125340
2023-03-15 11:18:04 +00:00
Kubernetes Publisher
05282cc5cb
Merge pull request #116353 from KnVerey/applyset-crd-parents
...
ApplySet: allow custom resources to be parent objects
Kubernetes-commit: 480a0c2c3601a54be0679f078c819ba6f887553f
2023-03-15 11:18:00 +00:00
Alexander Zielenski
25f108da25
throw missing field in std err
...
Kubernetes-commit: 0c0a91d4d97547aa5356e5dc326361d1a375d494
2023-03-14 12:34:04 -07:00
Alexander Zielenski
f4936cb9cc
log name of mising field, not path
...
Kubernetes-commit: 180c312f31f5de372eb27b5a120d5a6ce94bc07c
2023-03-14 12:20:11 -07:00
Alexander Zielenski
ef349ea77d
use referred type's type when it is not an object
...
i think we should also do this when it has no GVK? objects with no GVK cant be explained
Kubernetes-commit: 636c259474a5e7c5743d3084cca7b50f658d982c
2023-03-14 11:16:30 -07:00
natasha41575
178e0df9e6
Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0.13.2, kustomize/v5.0.1
...
Kubernetes-commit: 09e6e4db1d2fd901601f5ed23c7c29b7dc310649
2023-03-14 11:40:28 -05:00
Madhav Jivrajani
56c5264e50
kubectl: Change subresource flag to beta
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
Kubernetes-commit: 9fbd08e075dae2b67386fe2c5283f28272858008
2023-03-14 21:44:32 +05:30
Stephen Kitt
cfd2169f88
cli: replace intstr.FromInt with intstr.FromInt32
...
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: 45836971f27ca70cd7742e8ee66e99e3c648cf9f
2023-03-14 16:17:48 +01:00
justinsb
11dbc9b97f
prunev2: find resources in parallel
...
To improve wall-clock speed, we run list operations in parallel. This
particularly helps when the round-trip time is high.
We issue requests as quickly as possible, kube-apiservers should all
have priority and fairness at this point and we don't want to
duplicate/fight that system.
Kubernetes-commit: 82eee59d0feb4b303e6ef78ebb7ec646a059f266
2023-03-14 12:45:45 +00:00
justinsb
62b0fbdb7a
kubectl prunev2: Refactor the applyset to be more reusable
...
This enables sharing with diff.
Kubernetes-commit: d016fdcc834099dee721f42a384e1bc1f710e599
2023-03-14 12:12:00 +00:00
justinsb
180519d83a
kubectl diff: refactor tracker into a separate type
...
This means that we can reuse the logic even if we swap out the pruner.
Kubernetes-commit: 9c5c8b243d1a6524e38d847c54de3046b332d373
2023-03-14 12:06:44 +00:00
Alexander Zielenski
175f88290e
use title case for "Object" type
...
for backwards compatibility
Kubernetes-commit: 61d408832acac1c703922007d5e590cb86f5c801
2023-03-13 17:34:09 -07:00
Patrick Ohly
87f39ef8f0
dependencies: ginkgo v2.9.1, gomega v1.27.4
...
They contain some nice-to-have improvements (for example, better printing of
errors with gomega/format.Object) but nothing that is critical right now.
"go mod tidy" was run manually in
staging/src/k8s.io/kms/internal/plugins/mock (https://github.com/kubernetes/kubernetes/pull/116613
not merged yet).
Kubernetes-commit: fe59e091eb3331db54cff2351f16eabfe0cb681d
2023-03-13 16:06:20 +01:00
aditya-K2
06bf9e7cc8
Update `kubectl edit` documentation
...
kubectl defaults to /bin/bash if the SHELL environment variable isn't
set. Updating the docs to mention that you can override the shell
location by setting the SHELL environment variable.
Kubernetes-commit: 0a508ad8067dcc8d48420daca536fca09df5846b
2023-03-13 00:01:39 +05:30
Alexander Zielenski
86033dd377
enable openapiv3 by default
...
Kubernetes-commit: ce3385ab1f9b0cce4d972b8888584dd0fe295c70
2023-03-08 13:15:56 -08:00
Katrina Verey
a038484b5c
Allow conformant CRDs to be ApplySet parents
...
Kubernetes-commit: 923d9b63fd87e9446f5746f544237c7e0de009a0
2023-03-07 11:29:50 -05:00
Katrina Verey
ca98377c3e
Applyset dry run tests + ID value ( #116265 )
...
* Test for ApplySet with --dry-run=client|server
* Use the real format for ApplySet ID
* Incorporate feedback
* Adjustments from rebase
Kubernetes-commit: 6a31757f45693fec5ea4723bcb405ce4437e31ca
2023-03-15 11:17:56 +00:00
Kubernetes Publisher
c22c2cf969
Merge pull request #116490 from tallclair/docs-urls2
...
Fix broken links in API documentation
Kubernetes-commit: 110541b3d72e32e0016061cbaaecb4db9683e1eb
2023-03-14 02:39:02 +00:00
Kubernetes Publisher
df67006389
Merge pull request #116205 from justinsb/basic_prune_test_option_2
...
prunev2: Basic pruning logic
Kubernetes-commit: 4fbfe11b89c3a2151f6b778bf404a668f35a63bb
2023-03-14 02:38:56 +00:00
Kubernetes Publisher
3d6f37b4cb
Merge pull request #116542 from enj/enj/f/go1.20
...
Explicit bump to go 1.20
Kubernetes-commit: de9ce03f19e8b1ace1e79fae17119820c4232b67
2023-03-13 22:32:44 +00:00
Monis Khan
863252a71f
Explicit bump to go 1.20
...
Signed-off-by: Monis Khan <mok@microsoft.com>
Kubernetes-commit: ba471884fba92246e1547ce4a27f9d5e735afc60
2023-03-13 12:47:36 -04:00
Kubernetes Publisher
ff0a58d6f5
Merge pull request #116510 from flant/whoami-beta
...
Promote whoami kubectl command
Kubernetes-commit: 4a7ba056911dd822917b00ecc4b6fa77e721bbd5
2023-03-13 14:33:23 +00:00
m.nabokikh
e0b4d10785
Promote whoami kubectl command
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
Kubernetes-commit: c2cadd2b60424d26678b72506e377dfbf12b9876
2023-03-12 15:24:31 +01:00
Tim Allclair
7bde57f61d
Fix broken API docs URLs
...
Kubernetes-commit: ea974280dc9948e31d426ee6366abff0957a5f82
2023-03-10 19:18:06 -08:00
Kubernetes Publisher
cd74b8cb4d
Merge pull request #116366 from ardaguclu/fix-shareprocess-explicit
...
kubectl debug: Not share process namespace if user explicitly disables it
Kubernetes-commit: 3ed9c61864864eb70de4126790ba90a5c05e9fd5
2023-03-10 21:59:53 +00:00
Kubernetes Publisher
c0cd02bd0a
Merge pull request #116349 from apelisse/use-smarter-cache
...
Update kube-openapi to 15aac26d736a
Kubernetes-commit: a034962173e2b481d59e81178e3897870511ec7d
2023-03-10 10:08:29 +00:00
Kubernetes Publisher
0a696fb8a2
Merge pull request #115480 from alexzielenski/kubectl/explain/openapiv3/alias-legacy
...
kubectl-explain: add --output plaintext-openapiv2 fallback
Kubernetes-commit: beacb8d7afc427eac491c59e9370be7b16b9f318
2023-03-10 10:08:24 +00:00
Kubernetes Publisher
3fe345670b
Merge pull request #114682 from brianpursley/get-cmd-arg
...
cmd/get: Remove cmd argument from Run()
Kubernetes-commit: 315f94d2dc2d55d185a89acc7938a21665b9f6fc
2023-03-10 10:08:18 +00:00
Arda Güçlü
d3f76f431e
Enable plugin resolution as subcommand for selected builtin commands ( #116293 )
...
* Enable plugin resolution as subcommand for selected builtin commands
This PR adds external plugin resolution as subcommand for selected builtin
commands if subcommand does not exist as builtin.
In it's alpha stage, this will only be enabled for create command and
this feature is hidden behind `KUBECTL_ENABLE_CMD_SHADOW` environment variable.
* Rename parameter to exactMatch to better reflect
Kubernetes-commit: a901bb630b5a353898c1b35df582a7faeef160a0
2023-03-09 16:16:01 +03:00
Kubernetes Publisher
681a9d1949
Merge pull request #116392 from seans3/fallback-verifier
...
Fallback query param verifier
Kubernetes-commit: f5ddaa152ed8739cf8f4de62687ac3c84ef5e12d
2023-03-09 08:57:55 +00:00
Maksim Nabokikh
ea55df59db
KEP-3325: Promote SelfSubjectReview to Beta ( #116274 )
...
* Promote SelfSubjectReview to Beta
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
* Fix whoami API
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
* Fixes according to code review
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
---------
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
Kubernetes-commit: c1431af4f83b2b06a581f23806ee12a0663fed3b
2023-03-09 04:56:40 +00:00
Arda Güçlü
e5fa47994b
Not share process namespace if user explicitly disables it
...
This PR sets higher priority to the `share-processes` flag than
provided profile.
For example, if user tries to use copy-to debugging with restricted
profiling, share process namespace should be false if user explicitly
disables it via `--share-processes=false`.
Kubernetes-commit: 0e98533d1b7a4d2ebf414575ff81905933c31c63
2023-03-08 11:58:28 +03:00
Antoine Pelisse
cd2bde2ba5
Update kube-openapi to 15aac26d736a
...
Kubernetes-commit: 9bbdb9f130516a14a73914d0b41396ddb72a88ea
2023-03-07 16:14:54 -08:00
Sean Sullivan
ea96fe7c15
Fallback query param verifier
...
Kubernetes-commit: f5865043edb807f8c5efff286fe0097a382fcaf0
2023-03-07 21:50:25 +00:00
Shuang Wang
58a69e79d3
rolebinding often used for serviceaccount ( #107124 )
...
* rolebinding offen used for serviceaccount
* fix syntax error
* fix syntax error
Kubernetes-commit: 8c97443b7b5269e3e96ce31e82e0744219917252
2023-03-07 16:59:35 +00:00
Kubernetes Publisher
b1c413f827
Merge pull request #116243 from KnVerey/applyset_parent_mgmt
...
Create and update the ApplySet parent object
Kubernetes-commit: 8da8bb41bcfdfa02fcdc41824e05d25dea0ab5b5
2023-03-04 01:24:36 +00:00
Kubernetes Publisher
187e5c1218
Merge pull request #116166 from pohly/test-go-vet
...
fix "go vet" issues, check as part of golangci-lint
Kubernetes-commit: ff735dff85367c2a096c4065b8b3c1fbbeecabc4
2023-03-04 01:24:27 +00:00
Kubernetes Publisher
7ffee6dc93
Merge pull request #116162 from apelisse/update-openapi
...
Update kube-openapi to afdc3dddf62d31f5e3868d699379c571a6007920
Kubernetes-commit: 253ab3eda71f250ad6692bb16f035cebaf0651c9
2023-03-04 01:24:22 +00:00
Kubernetes Publisher
051f5bfd9e
Merge pull request #115672 from sding3/fix-restricted-profile
...
fix restricted debug profile
Kubernetes-commit: 20df9dd6b7db10fd1f37ddad2f3bbd2824f45249
2023-03-04 01:24:17 +00:00
Katrina Verey
250ef6fa54
Feedback and linter
...
Kubernetes-commit: 3b0e13482e4459f9cb6a006cac2da76333992efd
2023-03-03 11:50:16 -05:00
Antoine Pelisse
de2937e5ad
Update kube-openapi to afdc3dddf62d31f5e3868d699379c571a6007920
...
Kubernetes-commit: 736123f447219375219a23b9acc9d550fe8ec4c4
2023-03-03 08:43:44 -08:00
Kubernetes Publisher
e374282d01
Merge pull request #116179 from justinsb/visiteduids_deprecation
...
cleanup: replace deprecated sets.String
Kubernetes-commit: 096e67d30e7e7d57c02baf2b20775051bea0c379
2023-03-02 17:13:19 +00:00
Kubernetes Publisher
aa77d29cd8
Merge pull request #115277 from pohly/klog-update
...
klog update
Kubernetes-commit: 51dedff4f3efd407ebf47de11d0db521274471a3
2023-03-02 03:08:48 +00:00
Justin SB
a7db218701
cleanup: replace deprecated sets.String
...
Replace with generics, including using the more-accurate type
types.UID for visitedUids.
Kubernetes-commit: 0b5fa1934250307c4df7c6bcabf6a6b1b00e73d9
2023-03-01 09:05:59 -05:00