Patrick Ohly
2579861734
kube-controller-manager: use context-aware client-go
...
Kubernetes 1.37 finished the introduction of context-aware client-go APIs.
Components like kube-controller-manager which are meant to support contextual
logging should use those new APIs.
This is not enforced yet because existing code must be updated first. Once
that is done, enforcement of everything touched here can be enabled tree-wide.
2026-09-07 16:49:09 +02:00
Davanum Srinivas and Jordan Liggitt
03afe6471b
Add a replacement for cmp.Diff using json+go-difflib
...
Co-authored-by: Jordan Liggitt <jordan@liggitt.net >
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-06-16 17:10:42 -04:00
Davanum Srinivas
4e05bc20db
Linter to ensure go-cmp/cmp is used ONLY in tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-01-24 20:49:14 -05:00
Tim Hockin
29c0b73d64
Replace uses of diff.ObjectDiff with cmp.Diff
...
ObjectDiff is already a shim over cmp.Diff, so no actual output or
behavior changes
2023-04-12 08:46:12 -07:00
杨军10092085
361e4ff0fa
volume: use contextual logging
2023-03-14 08:37:30 +08:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-07-26 13:14:05 -04:00
wangyx1992
fd51e654af
cleanup: fix errors in wrapped format and log capitalization in controller
...
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn >
2021-04-22 15:40:54 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04:00
Jan Safranek
3af671011a
Generated API
2020-03-02 22:21:42 +01:00
Jan Safranek
2c1b743766
Promote block volume features to GA
2020-02-28 20:48:38 +01:00
danielqsj
5bc0e26c19
unify alias of api errors under pkg and staging
2019-12-26 16:42:28 +08:00
Sadlil Rhythom
7a8eaf4561
controller:volume fix static check failures
2019-08-21 09:37:42 +02:00
AllenZMC
d266b79a39
fix some typos in testing.go
2019-08-14 20:53:24 +08:00
Shintaro Murakami
7c0b33e012
Add check to reduce orphaned volume
2019-07-11 16:31:56 +09:00
Yecheng Fu
3315474f55
Fix go lint failures in a few packages
...
- pkg/controller/volume/persistentvolume/testing
- pkg/controller/volume/scheduling
2019-05-05 09:45:25 +08:00
Yecheng Fu
842fed658c
Refactor PV scheduling library into separate package
2019-05-02 14:45:52 +08:00
Yecheng Fu
0b6c028c8a
Extract testing VolumeReactor into a separate package
2019-05-02 14:45:52 +08:00
Matthew Wong
33f98d4db3
Switch pv controller to shared informers
2017-02-16 10:08:23 -05:00
deads2k
9488e2ba30
move testing/core to client-go
2017-01-26 13:54:40 -05:00