Kubernetes Publisher
920cc30542
Merge pull request #99494 from enj/enj/i/not_after_ttl_hint
...
csr: add expirationSeconds field to control cert lifetime
Kubernetes-commit: 659c7e709f3b7f5f2a25e456525cd8747f2e68cc
2021-07-02 10:16:28 +00:00
Kubernetes Publisher
08564af8a9
Merge pull request #103218 from dashpole/otel_clientgo
...
Add tracing to apiserver client-go requests
Kubernetes-commit: df95052de3c5036e6653eca26e38dc9e79d25455
2021-07-02 06:12:14 +00:00
Kubernetes Publisher
ec7ba8a519
Merge pull request #103176 from CaoDonghui123/updatemod
...
Update golang.org/x/net
Kubernetes-commit: c14017b270d21e6a7e79c0b8872a580f43a67220
2021-07-01 06:18:35 +00:00
Kubernetes Publisher
b83b2ec7d1
Merge pull request #103318 from jpbetz/fix-102749
...
Bump SMD to v4.1.2 to pick up #102749 fix
Kubernetes-commit: 0dad7d1c47c41f232b21cdd5c21be6683e545e9d
2021-06-30 22:19:56 +00:00
Kubernetes Publisher
9017859ece
Merge pull request #99829 from palnabarun/migrate-to-go-embed
...
Replace go-bindata with //go:embed
Kubernetes-commit: 044fd6fdf6a859683b291898f87433115e1ec3c0
2021-06-30 18:12:50 +00:00
Joe Betz
9c7a7bccd7
Bump SMD to v4.1.2 to pick up #102749 fix
...
Kubernetes-commit: b790cf388ce1fce140c80bb0f7f9669288408b7a
2021-06-29 19:33:00 -07:00
Kubernetes Publisher
1f432728ff
Merge pull request #102028 from chrishenzie/read-write-once-pod-access-mode
...
ReadWriteOncePod access mode for PVs and PVCs
Kubernetes-commit: 01819dd322855915e0477dcad3b922d66bec9878
2021-06-29 20:13:13 +00:00
David Ashpole
c0d8cf79a8
add tracing to the apiserver's client-go requests
...
Kubernetes-commit: 79d400c4416f903af604fb2cf07d2c34bb4b98f7
2021-06-26 09:16:32 -07:00
Monis Khan
82734c256a
csr: add expirationSeconds field to control cert lifetime
...
This change updates the CSR API to add a new, optional field called
expirationSeconds. This field is a request to the signer for the
maximum duration the client wishes the cert to have. The signer is
free to ignore this request based on its own internal policy. The
signers built-in to KCM will honor this field if it is not set to a
value greater than --cluster-signing-duration. The minimum allowed
value for this field is 600 seconds (ten minutes).
This change will help enforce safer durations for certificates in
the Kube ecosystem and will help related projects such as
cert-manager with their migration to the Kube CSR API.
Future enhancements may update the Kubelet to take advantage of this
field when it is configured in a way that can tolerate shorter
certificate lifespans with regular rotation.
Signed-off-by: Monis Khan <mok@vmware.com>
Kubernetes-commit: cd91e59f7c351fce47c064a5162c2cb79075159c
2021-06-25 22:08:10 -04:00
caodonghui
9571900cb4
Update golang.org/x/net to v0.0.0-20210520170846-37e1c6afe023
...
Kubernetes-commit: c1d5a3a99e120281c618d6573d7b424138dfb5a9
2021-06-25 15:25:52 +08:00
navist2020
2128ec58c8
remove Factory that not used
...
Kubernetes-commit: 0a83041d4d3698d36ade2a310184248c61eec64f
2021-05-17 16:56:12 +08:00
Chok Yip Lau
95dc04b3b3
Added support for multiple --from-env flags
...
Kubernetes-commit: 99bc2b077fd208885e76281ab8865f1e85f0abb8
2021-04-29 19:16:59 -04:00
Miciah Masters
526686bff9
Fix RollingUpdateDaemonSet godoc regarding rounding
...
Fix the godoc for RollingUpdateDaemonSet to state that
spec.updateStrategy.rollingUpdate.maxUnavailable is rounded up.
A recent commit changed the godoc to say that the value of this field
was rounded down, but the actual implementation rounds up and always has
rounded up. (This is in contrast to Deployments, where
spec.strategy.rollingUpdate.maxUnavailable is rounded down.)
Follow-up to commit 5aa53f885c980873087cbc86e1eccdf342e775b5.
* api/openapi-spec/swagger.json:
* staging/src/k8s.io/api/apps/v1/generated.proto:
* pkg/apis/apps/types.go:
* staging/src/k8s.io/api/apps/v1/types.go:
* staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go:
* staging/src/k8s.io/api/apps/v1beta2/generated.proto:
* staging/src/k8s.io/api/apps/v1beta2/types.go:
* staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go:
* staging/src/k8s.io/api/extensions/v1beta1/generated.proto:
* staging/src/k8s.io/api/extensions/v1beta1/types.go:
* staging/src/k8s.io/api/extensions/v1beta1/types_swagger_doc_generated.go:
* staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger.json:
* staging/src/k8s.io/kubectl/testdata/openapi/swagger.json:
Change "rounding down" to "rounding up".
Kubernetes-commit: 452e2eaf1ba40512e90a29d379774054e86e324d
2021-04-20 20:07:11 -04:00
Lee Verberne
119802affe
Warn user for runtime support of debug targeting
...
Add a warning message to `kubectl debug` when using the `--target`
option as many runtimes don't support it yet.
Kubernetes-commit: 968185e1f7c4aee739d5abe6133a690c70e87d5e
2021-04-13 15:50:26 +02:00
huiwq1990
de9043d5d2
use already defined variable
...
Kubernetes-commit: 7aab5df381fb58814afdc0bba1b7352332d53edb
2021-03-13 15:49:44 +08:00
Chris Henzie
cb8bf2d275
Update helper methods to print and parse ReadWriteOncePod access mode
...
Kubernetes-commit: 5f98f6cfa47e2fcfad46822638b4fd167d8c41df
2021-03-10 20:51:43 -08:00
Chris Henzie
8bd9f6c9c6
Export contains access mode helper method
...
Will be used during validation of PVs and PVCs
Kubernetes-commit: 358d2e0bd1ffd475274ea08494bc8d39ef0e80cc
2021-06-14 19:31:57 -07:00
Kubernetes Publisher
138447c9c6
Merge pull request #103238 from seans3/cmd-headers-beta
...
kubectl command headers as default in beta
Kubernetes-commit: 657d93c4cc5201a9fc8a5ba1258d05d81ef39cbd
2021-06-27 20:10:59 +00:00
Sean Sullivan
42a8170920
kubectl command headers as default in beta
...
Kubernetes-commit: 4add8ed910654087683444ac7f8e441e8d32baa3
2021-06-26 20:53:49 -07:00
Kubernetes Publisher
3ffa097df9
Merge pull request #96087 from VilledeMontreal/feat/goComp
...
Move all bash custom completions to Go
Kubernetes-commit: f7d2ecdc3e52b408833aa6269c57ad9ef408467e
2021-06-26 08:12:10 +00:00
Kubernetes Publisher
00dbb563fc
Merge pull request #94942 from dashpole/apiserver_opentelemetry
...
Apiserver tracing
Kubernetes-commit: 12eb461acfb2279524d07f5ed95dd20e2e472939
2021-06-25 20:15:10 +00:00
David Ashpole
e24cf58fe8
Add distributed tracing to the apiserver using OpenTelemetry
...
Kubernetes-commit: 79550ed40c67a70534c1cb697e1fb7e7dbf96335
2021-06-25 05:20:16 -07:00
Kubernetes Publisher
383932c4a2
Merge pull request #95472 from ahmedtd/lru-remove-mpl
...
Remove MPL-licensed dep from lruexpirecache
Kubernetes-commit: 89ebe77aebf2b5f0c9526f474b003358655dbac5
2021-06-25 00:19:10 +00:00
Marc Khouzam
4338c5bc89
Use native zsh completion
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: 77bb053102cbe1581857dd35e9c095888d2c85d3
2021-06-05 22:09:03 -04:00
Marc Khouzam
ef4c461bd5
Add tests for completion utility functions
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: 46aa6045e4c383db2106307ee687abce2910153a
2021-06-05 21:11:34 -04:00
Marc Khouzam
724356168b
Revert "Add Go tests for custom completions"
...
This reverts commit 0e18f0380042b652996d795559bfb818698abec3.
Kubernetes-commit: 1babceac650cfe8ec7ac71b34ed1ecf118b50f9d
2021-05-22 20:47:14 -04:00
Marc Khouzam
5c679b006e
Join common functions for completion
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: 9625872d1e4fd0d4d397b3ab732c6969a3a376fe
2021-05-15 21:22:42 -04:00
Marc Khouzam
b817d296dd
Update staging/src/k8s.io/kubectl/pkg/cmd/config/config.go
...
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
Kubernetes-commit: 9d03185d3c12a0b3f2f36a5096d4a9658bba5472
2021-05-03 14:18:00 -04:00
Marc Khouzam
af40736fcc
Add Go tests for custom completions
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: c0b3a698fa15265eecdec0bd8776658c40d8d151
2021-03-05 15:44:30 -05:00
Marc Khouzam
1946af5761
Move all completion bash code to Go code
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: 879cdc5fa9e518ce76b9e1dc7e795132457966f3
2021-03-05 15:43:31 -05:00
Nabarun Pal
c4de100b6e
hack: remove bindata generation logic for translations
...
also, remove generated bindata
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
Kubernetes-commit: 43c2e454a059da5cfce0430534b289dd21a0599e
2021-03-04 10:28:08 +05:30
Nabarun Pal
e99a037812
kubectl: use embedded translations instead of generated bindata
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
Kubernetes-commit: eb75b34394964fbc325ca08a5d0b126c5ea16b6f
2021-03-04 10:26:41 +05:30
Nabarun Pal
f52da0a0a3
kubectl: move translations to i18n package to kubectl staging directory
...
Go 1.16's embed directive doesn't allow embeding files from parent
directories. Hence, moving the translations data to inside the i18n package.
Logically speaking as well, kubectl related artifacts should be inside
the kubectl package.
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
Kubernetes-commit: 5ece28b77a284b24b674278378630373196789ac
2021-03-04 09:55:12 +05:30
wawa0210
11174082b3
fix kubectl alpha debug node does not work on tainted nodes
...
Kubernetes-commit: 3ec63238c53ae3a7185db210e94494d850def3d4
2021-01-26 23:36:35 +08:00
fabiankramm
3d34311c79
kubectl proxy: append context host path to request path
...
Signed-off-by: fabiankramm <fab.kramm@googlemail.com>
Kubernetes-commit: b1a6f8cdf90c0a3861157fea24dcfa89c2aafcf9
2020-12-16 17:37:44 +01:00
Taahir Ahmed
1134465c69
Remove MPL-licensed dep from lruexpirecache
...
github.com/hashicorp/golang-lru is MPL 2 licensed, which means that
anyone who distributes code or binaries that incorporates it needs to
include its source code, even if they haven't made any modifications.
Since lrucacheexpire is picked up as a dependency of using the shared
informers in client-go, that's potentially a lot of distributors.
Most other deps of client-go are Apache 2.0, MIT, or BSD-like
licensed, which only requires including the license.
Rather than reverting to groupcache/lru, I just reimplemented the
functionality we need, which isn't much.
Kubernetes-commit: ecc53182475a00a4a1dc8ca1e056b0deb6bd430c
2020-10-10 20:29:26 -07:00
Kubernetes Publisher
1199011a44
Merge pull request #103010 from BenTheElder/ansi-386-overflow
...
update Azure/go-ansiterm to v0.0.0-20210617225240-d185dfc1b5a1
Kubernetes-commit: 2ff70c77c98fdd3230ade470b319309f34909215
2021-06-19 07:50:39 +00:00
Benjamin Elder
f9d15f3325
update Azure/go-ansiterm to v0.0.0-20210617225240-d185dfc1b5a1
...
fixes constant overflow on windows/386
Kubernetes-commit: 35e9d97f3e02a8757e5cc698142037c5a95487d9
2021-06-18 15:11:48 -07:00
Kubernetes Publisher
227d47c381
Merge pull request #102783 from mcbenjemaa/update-dep-gnostic
...
Update gnostic to the latest version
Kubernetes-commit: e9c6ec639cc5ca93a3f6e01ff4215f6b68d6142d
2021-06-18 19:51:03 +00:00
Mohamed chiheb Ben jemaa
d85723a6c0
update vendor
...
Kubernetes-commit: 9571b1f884480879de54d5ff993ca336d61874b2
2021-06-17 17:24:43 +01:00
Mohamed chiheb Ben jemaa
2746e0c06a
Update github.com/googleapis/gnostic to v0.5.5 and updating transitive dependencies go-cmp, protobuf,, to adapt the latest gnostic release which cosists of [Update protos for Go protoc plugin compatibility]
...
Kubernetes-commit: c691386fef727a5494e3ab02b99196d8f6418241
2021-06-13 17:25:55 +01:00
Kubernetes Publisher
81deb1a362
Merge pull request #102441 from feiskyer/update-vendor
...
Update Azure Go SDK to v55.0.0
Kubernetes-commit: 122d6352452f3f4a2d52bdb8b114b6e0ec49358e
2021-06-17 02:36:02 +00:00
Pengfei Ni
4a47fd9c41
Update Azure Go SDK to v55.0.0
...
Kubernetes-commit: b98824c55d95b8b3a1cf79adac44154bd1702e46
2021-06-01 01:30:43 +00:00
Kubernetes Publisher
d9a1f91168
Merge pull request #102897 from liggitt/etcd-ga
...
Update to etcd v3.5.0 client
Kubernetes-commit: f5cf74ddff818236b8435370afa41a51f23dd532
2021-06-16 06:34:47 +00:00
Kubernetes Publisher
2d8769e137
Merge pull request #102554 from wzshiming/fix/close-file
...
Close the used file
Kubernetes-commit: a552df85d31bc99be47a3ef6e138cae576f4683c
2021-06-16 02:28:36 +00:00
Jordan Liggitt
74624118d5
Update to etcd v3.5.0 client
...
Kubernetes-commit: 6448181d95c8d6486ba8e9a2a92b4a8172ca1f8f
2021-06-15 19:01:32 -04:00
Kubernetes Publisher
aa6eb8726e
Merge pull request #100488 from liggitt/protobuf
...
update etcd, grpc, protobuf dependencies
Kubernetes-commit: 3a47ddccdfb09e73758cebb2690ad2a014f67e23
2021-06-15 22:33:58 +00:00
Kubernetes Publisher
c93dec3bb6
Merge pull request #99310 from ankeesler/exec-plugin-interactive
...
exec credential provider: InteractiveMode support
Kubernetes-commit: 37da905c0c673c9cb07ca724384d37e725602a0c
2021-06-15 19:04:00 +00:00
Jordan Liggitt
96effe955b
Update protobuf,grpc,etcd dependencies
...
1. Updated etcd/protobuf/grpc dependencies:
echo "
hack/pin-dependency.sh github.com/golang/protobuf latest
hack/pin-dependency.sh google.golang.org/protobuf latest
hack/pin-dependency.sh go.etcd.io/etcd/api/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/client/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/client/pkg/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/pkg/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/server/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/tests/v3 v3.5.0-rc.0
hack/pin-dependency.sh google.golang.org/grpc latest
" | bash
2. Linted transitive dependencies until versions are clean:
hack/lint-dependencies.sh | grep " hack/pin-dependency.sh" | bash
3. Linted dependencies until dropped versions are clean:
hack/lint-dependencies.sh | grep "dropreplace" | bash
4. Updated vendor and internal modules:
hack/update-vendor.sh
hack/update-internal-modules.sh
Repeated steps 2-4 until clean
Kubernetes-commit: 5cfc39ef5e90002080ff1f2bc4b7ade674c225f1
2021-06-15 10:06:09 -04:00
Kubernetes Publisher
f81209afea
Merge pull request #102825 from n4j/bug/KubectlWindowsCrash
...
Fix - Winterm issue on Windows 8.1 in kubectl exec
Kubernetes-commit: 0665fb2e5a9a9fa449ef6acc16275b857da74087
2021-06-15 06:28:14 +00:00