Kubernetes Publisher
3ec795807b
Update dependencies to v0.21.13 tag
kubernetes-1.21.13
v0.21.13
2022-05-25 00:53:34 +00:00
Kubernetes Publisher
1110612dc6
Merge pull request #108666 from cyclinder/update_go_mod_for_1.21
...
update go.mod for golang.org/x/crypto to v0.0.0-20211202192323
Kubernetes-commit: c91e435f72048eeb846973297746b0883dd500cd
2022-03-28 17:18:24 +00:00
cyclinder
c7b56a1e28
update go.mod for golang.org/x/crypto to v0.0.0-20211202192323-5770296d904e
...
Signed-off-by: cyclinder <qifeng.guo@daocloud.io >
Kubernetes-commit: 3c75662c8687029bcc0241462bd4673098de3dba
2022-03-12 18:06:57 +08:00
Kubernetes Publisher
a9a65da8a9
sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel Gopkg.toml */.gitattributes
2022-03-25 13:17:46 +00:00
Kubernetes Publisher
60cd5cbc01
Merge pull request #108335 from rphillips/backport/107637
...
[release-1.21] backports k/utils bump (PR#107637) to 1.21
Kubernetes-commit: 9947659f9f39cc847cf9780ae8935686be01016b
2022-02-24 22:11:06 +00:00
Ryan Phillips
6de25c9d7f
update vendor
...
Kubernetes-commit: 7022f3c4165908cf49409cf19ad3e8c7c1c9340d
2022-02-24 11:33:32 -06:00
Kubernetes Publisher
b3fbf6e096
Merge pull request #107569 from jiahuif-forks/automated-cherry-pick-of-#107565-upstream-release-1.21
...
Automated cherry pick of #107565 : upgrade sigs.k8s.io/structured-merge-diff/v4 to v4.2.1
Kubernetes-commit: 80b625cdfb1b5af2fb545187e9fab045ef71858b
2022-01-15 05:41:31 +00:00
Kubernetes Publisher
414618c60b
Merge pull request #106583 from hzxuzhonghu/automated-cherry-pick-of-#104991-#105031-origin-release-1.21
...
Automated cherry pick of #104991 : Fix workqueue memory leak
#105031 : workqueue: fix leak in queue preventing objects from being
Kubernetes-commit: 9d7f9092da28caba0e30274aa17089edeeda8e96
2022-01-15 05:41:29 +00:00
Jiahui Feng
8cbaa2fa3a
generated: ./hack/update-vendor.sh
...
Kubernetes-commit: cea8bad2c6f0591527747a54c379eab3838b3cce
2022-01-14 10:31:44 -08:00
Jiahui Feng
1d723a9544
upgrade sigs.k8s.io/structured-merge-diff/v4 to v4.2.1
...
Kubernetes-commit: f3184d2ca2dae501f64ecb3ce8daa83a6bc21d6c
2022-01-14 10:30:23 -08:00
Kubernetes Publisher
7bce839a5d
Merge pull request #107336 from fasaxc/automated-cherry-pick-of-#107311-upstream-release-1.21
...
Automated cherry pick of #107311 : client-go: Clear the ResourceVersionMatch on paged list calls
Kubernetes-commit: 9f84a2776c252e676ed5be7218723f729cff0166
2022-01-05 22:04:28 -08:00
Shaun Crampton
b5ec362b48
client-go: Clear the ResourceVersionMatch on paged list calls
...
API server rejects continuations with ResourceVersionMatch set.
Kubernetes-commit: 0ab23b50de524efa5592d08b1f77077699cb22ed
2022-01-04 16:05:32 +00:00
Kubernetes Publisher
640fc0866f
Merge pull request #106961 from cpanato/update-xnet-121
...
dependencies: Update golang.org/x/net to v0.0.0-20211209124913-491a49abca63
Kubernetes-commit: 0b2c66f6271fab48ff4dfc3e579617dfa95ca757
2021-12-13 21:31:40 +00:00
Carlos Panato
936c00ffa3
dependencies: Update golang.org/x/net to v0.0.0-20211209124913-491a49abca63
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com >
Kubernetes-commit: 1c15f1c1d9cb9271322c2445d773783ada646f41
2021-12-10 17:56:44 +01:00
Kubernetes Publisher
11b69c913f
Merge pull request #106255 from ulucinar/bump-k-openapi-1.21
...
Manual cherry pick of kube-openapi changes for release-1.21
Kubernetes-commit: 9b1ac9cf06d14da061187087daa6299efe6cfa43
2021-11-11 07:44:10 +00:00
Alper Rifat Ulucinar
542d13475b
Manual cherry pick of kube-openapi changes for release-1.21
...
Bump kube-openapi against kube-openapi/release-1.21 branch
Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com >
Kubernetes-commit: 57b8a2bdade906742b76006bf538946086d85b74
2021-11-10 04:55:06 +03:00
Kubernetes Publisher
573578b082
Merge pull request #102656 from jsafrane/automated-cherry-pick-of-#102059-#101862-upstream-release-1.21
...
Automated cherry pick of #102059 : Bump k8s.io/utils
#101862 : Retry detaching FibreChannel volume few times
Kubernetes-commit: c96b0a28f310599a05f4dded9798b60718aa4094
2021-11-09 20:56:13 +00:00
John Howard
c812fae4b4
workqueue: fix leak in queue preventing objects from being GCed
...
See https://github.com/grpc/grpc-go/issues/4758 for a real world example
of this leaking 2gb+ of data.
Basically, when we do `q.queue[1:]` we are just repositioning the slice.
The underlying array is still active, which contains the object formerly
known as `q.queue[0]`. Because its referencing this object, it will not
be GCed. The only thing that will trigger it to free is eventually when
we add enough to the queue that we allocate a whole new array.
Instead, we should explicitly clear out the old space when we remove it
from the queue. This ensures the object can be GCed, assuming the users'
application doesn't reference it anymore.
Kubernetes-commit: 32ab81f15d43183ecc1a62e066c1759f08e624f3
2021-09-14 15:51:09 -07:00
xuzhonghu
efa1980cd4
Fix workqueue memory leak
...
Kubernetes-commit: a802e788602ff6ad87e1cbeaf3fb5d6a6d874ba1
2021-09-14 09:53:53 +08:00
Jan Safranek
14a8f8ee00
Bump k8s.io/utils
...
To get io/ConsistentRead updates.
Kubernetes-commit: 38dfca837269edb20b66e31777e642696f3bb087
2021-05-24 12:14:36 +02:00
Kubernetes Publisher
cd49ed727a
Merge pull request #102601 from jonesbr17/automated-cherry-pick-of-#102409-upstream-release-1.21
...
Automated cherry pick of #102409 : Bump golang.org/x/text to v0.3.6
Kubernetes-commit: e010ed4d8e511e931166d209dc63a79199cfcd58
2021-10-06 16:45:48 +00:00
Kubernetes Publisher
b01669a62d
Merge pull request #105407 from ehashman/bump-klog-1.21
...
Bump klog to v2.9.0
Kubernetes-commit: 3f8595c92359d6113fd1e353213d9965e90aa288
2021-10-06 12:51:54 +00:00
Elana Hashman
58e9421085
Bump klog to v2.9.0
...
Kubernetes-commit: 33ddb9afe22ecbca6d968104db7c64af65ae9a34
2021-10-01 11:35:04 -07:00
Kubernetes Publisher
1d060b21fe
Merge pull request #104989 from liggitt/automated-cherry-pick-of-#104969-upstream-release-1.21
...
Automated cherry pick of #104969 : Propagate conversion errors
Kubernetes-commit: 1f8ce710b8a41163cec5eb819646366c5896b911
2021-09-26 23:48:23 -07:00
Jordan Liggitt
9ab290c347
Propagate conversion errors
...
Kubernetes-commit: b9adf66929f09712f931d975034a2ef3940b3ec0
2021-09-13 11:49:17 -04:00
Kubernetes Publisher
4115bcf92d
Merge pull request #104311 from liggitt/automated-cherry-pick-of-#104279-upstream-release-1.21
...
Automated cherry pick of #104279 : Copy golang license to staging copies
Kubernetes-commit: b2af631b7d8fc70c3db612614b5ec9a1443b741b
2021-09-06 15:41:28 +00:00
Kubernetes Publisher
7c967224b7
Merge pull request #104530 from kolyshkin/1.21-runc-1.0.2
...
[1.21] bump runc to 1.0.2
Kubernetes-commit: cd3975787b22d961e45ab46ad7961ebb74abc6bd
2021-08-31 12:12:24 +00:00
Jordan Liggitt
a2a6328210
Copy golang license to staging copies
...
Kubernetes-commit: ac2bf89da6e20f3d6c0231013b9673623d1262a9
2021-08-10 17:37:28 -04:00
Kir Kolyshkin
e8ab90a2ea
vendor: bump runc to 1.0.2
...
The commands used were:
hack/pin-dependency.sh github.com/opencontainers/runc v1.0.2
hack/lint-dependencies.sh
# Follow its recommendations.
hack/pin-dependency.sh github.com/cilium/ebpf v0.6.2
hack/pin-dependency.sh github.com/coreos/go-systemd/v22 v22.3.2
hack/pin-dependency.sh github.com/opencontainers/selinux v1.8.2
hack/pin-dependency.sh github.com/sirupsen/logrus v1.8.1
# Repeat.
hack/lint-dependencies.sh
hack/pin-dependency.sh google.golang.org/protobuf v1.26.0
GO111MODULE=on go mod edit -dropreplace github.com/willf/bitset
# Update vendor.
hack/update-vendor.sh
git add vendor
git add LICENSES/
git status
# Repeat.
hack/lint-dependencies.sh
hack/pin-dependency.sh github.com/golang/protobuf v1.5.0
hack/pin-dependency.sh github.com/google/go-cmp v0.5.5
hack/update-vendor.sh
git status
git add vendor/
git status
# Recheck.
hack/lint-dependencies.sh
hack/update-internal-modules.sh
git status
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
Kubernetes-commit: a974d93be51cd08ae886a9e44dc5a9c12014d42f
2021-07-16 13:22:33 -07:00
Kubernetes Publisher
ccdebc23f7
Merge pull request #103614 from dprotaso/automated-cherry-pick-of-#102928-upstream-release-1.21
...
Automated cherry pick of #102928 : Simplify use of the fake dynamic client
Kubernetes-commit: b37bb672191c180fe8bf44e3c023469a47583383
2021-07-29 06:37:34 +00:00
Kubernetes Publisher
fefd2ad85b
Merge pull request #103319 from jpbetz/fix-102749-1.21
...
Manual cherry pick of #103318 : Bump SMD to v4.1.2 to pick up #102749 fix
Kubernetes-commit: c17d7c574149af1619dc8edd9c48a41dc07695e8
2021-07-12 06:36:39 +00:00
Joe Betz
58234552b9
Bump SMD to v4.1.2 to pick up #102749 fix
...
Kubernetes-commit: 44d4c4fe69f9fd2ee7bade2d15c8bab6be3ec98e
2021-06-29 18:55:34 -07:00
dprotaso
46c1ad3baa
Simplify use of the fake dynamic client
...
With the introduction of GVK to the fake dynamic client it made using
the fake much more cumbersome.
Specifically:
- requires manual registration of list types
- mismatch between scheme types and passed in fixtures would result in errors
The PR changes the constructor method NewSimpleDynamicClient to do the following:
- rewire the schemes to unstructured types
- typed fixtures are converted to unstructured types
- automatically register fixture gvks with the scheme
This should make the dynamic client 'flexible' with it's inputs like it was
before
Kubernetes-commit: d4da53771f429b05c69f628565fc9353972e5e6a
2021-06-16 14:51:00 -04:00
Kubernetes Publisher
3c428dfbaa
Merge pull request #102800 from pohly/automated-cherry-pick-of-#102788-upstream-release-1.21
...
Automated cherry pick of #102788 : client-go: reduce log level of reflector again
Kubernetes-commit: 05c4b151cf6d1d5dc05a45897f5975489ccafc70
2021-06-11 12:03:02 -07:00
Patrick Ohly
fe825e6964
client-go: reduce log level of reflector again
...
https://github.com/kubernetes/kubernetes/pull/87795 most likely
unintentionally increased the log level of "Starting reflector" and
"Stopping reflector", with the result that since Kubernetes 1.21
clients have printed that message by default. This is undesirable, we
should use the original level 3 again.
Kubernetes-commit: ef0beb2cf7091f3c1c837af63120cb8ce9f084bc
2021-06-10 20:36:02 +02:00
Kubernetes Publisher
6277e972ff
sync: remove Godeps/
2021-06-09 12:16:40 +00:00
Kubernetes Publisher
b63b1ba7e4
Merge pull request #102587 from saschagrunert/release-1.21
...
Revert "Cleanup portforward streams after their usage" [1.21]
Kubernetes-commit: e6824bbd0c2a669a049cc54f6e3d824d43b84f5f
2021-06-04 20:13:56 +00:00
Sascha Grunert
c18505fdb8
Revert "Cleanup portforward streams after their usage"
...
This reverts commit b14bd44f33d93e1ee64c1d68fa7591d79eac5893.
A regression has been introduced with this patch. The strategy is to
apply the fix on master and revert on the release branches.
Kubernetes-commit: 154a5538a5c43f30c3942055e7432cbe4c864f2c
2021-06-04 08:54:19 +02:00
Davanum Srinivas
8a0dae8e62
Bump golang.org/x/text to v0.3.6
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
Kubernetes-commit: 9385a0fac743ac57b1bd77a45c18caa0a8464f4e
2021-05-28 11:07:25 -04:00
Kubernetes Publisher
ffd8cfc563
Merge pull request #102196 from kolyshkin/automated-cherry-pick-of-#102147-upstream-release-1.21
...
Automated cherry pick of #102147 : vendor: bump runc to rc95
Kubernetes-commit: 133f66aa603c4624ff3544f26f54a153a54c6f94
2021-05-21 23:17:53 +00:00
Kir Kolyshkin
a802afb537
vendor: bump runc to rc95
...
runc rc95 contains a fix for CVE-2021-30465.
runc rc94 provides fixes and improvements.
One notable change is cgroup manager's Set now accept Resources rather
than Cgroup (see https://github.com/opencontainers/runc/pull/2906 ).
Modify the code accordingly.
Also update runc dependencies (as hinted by hack/lint-depdendencies.sh):
github.com/cilium/ebpf v0.5.0
github.com/containerd/console v1.0.2
github.com/coreos/go-systemd/v22 v22.3.1
github.com/godbus/dbus/v5 v5.0.4
github.com/moby/sys/mountinfo v0.4.1
golang.org/x/sys v0.0.0-20210426230700-d19ff857e887
github.com/google/go-cmp v0.5.4
github.com/kr/pretty v0.2.1
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
Kubernetes-commit: 5eea5478ae4859f2d66135d086b9675361d8d2a8
2021-05-19 09:59:29 -07:00
Kubernetes Publisher
c04de5262a
Merge pull request #100951 from saschagrunert/automated-cherry-pick-of-#99839-upstream-release-1.21
...
Automated cherry pick of #99839 : Cleanup portforward streams after their usage
Kubernetes-commit: 9745a35d15c40607d94424776cc84a130c64d75f
2021-05-18 11:04:14 +00:00
Sascha Grunert
322fe85e85
Cleanup portforward streams after their usage
...
This implements a stream cleanup when using portforwardings. Before
applying this patch, the streams []httpstream.Stream within
`spdy/connection.go` would fill-up for each streaming request. This
could result in heavy memory usage. Now we use the stream identifier to
keep track of them and finally remove them again once they're no longer
needed.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
Kubernetes-commit: b14bd44f33d93e1ee64c1d68fa7591d79eac5893
2021-03-05 13:39:04 +01:00
Kubernetes Publisher
0f9967bf69
sync: update go.mod
2021-04-17 16:07:08 +00:00
Kubernetes Publisher
307e3a38a1
Merge pull request #100718 from dims/automated-cherry-pick-of-#100606-#100660-upstream-release-1.21-take-2
...
Automated cherry pick of #100606 #100660 upstream release 1.21
Kubernetes-commit: 1b217e53de7348da4785624b419a2eea5151d03d
2021-04-01 15:22:02 +00:00
Davanum Srinivas
a124236e6c
Common auth plugins should always be available
...
Whether `providerless` is present or not, the OIDC plugin
should be available.
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
Kubernetes-commit: 2b71b5349a0744b16a367eb7ac7a44f9ae2079aa
2021-03-30 06:09:56 -04:00
Davanum Srinivas
ac49e87f5a
providerless tag for client-go auth plugins
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
Kubernetes-commit: c77bf835b8409da66d4f2a220c92a902d0888f9c
2021-03-28 20:05:32 -04:00
Kubernetes Publisher
6be0785e0e
Merge pull request #100156 from ehashman/issue-100155
...
Upgrade klog to avoid panics crashing components
Kubernetes-commit: 998f218606a149048e7b564ef27478bacab0f90f
2021-03-29 11:25:28 +00:00
Kubernetes Publisher
5f0702fefa
Merge pull request #99375 from ehashman/probe-kep-2238
...
Add Probe-level terminationGracePeriodSeconds
Kubernetes-commit: faa5c8ccd4cb34c95d67b24bb35354a205ceee15
2021-03-12 10:58:23 +00:00
Elana Hashman
e5c17fcdd1
Bump klog to 2.8.0, fixing nil panics in KObj
...
Kubernetes-commit: 6b70c8bd8db844a5c2c26d2814b3306d83204a7a
2021-03-11 16:56:56 -08:00