Stephen Kitt
|
5300466a5c
|
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>
|
2024-05-28 10:48:22 +02:00 |
|
SataQiu
|
1329935739
|
kubeadm: add support for patching a corednsdeployment target
|
2024-05-11 18:21:20 +08:00 |
|
Lubomir I. Ivanov
|
c2a04fa1cf
|
kubeadm: fix export comments to make golangci-lint happy
|
2023-10-25 19:35:10 +03:00 |
|
Paco Xu
|
31922c7794
|
kubeadm: use staticpod known tags for upgrade/init phases
|
2022-06-09 14:21:48 +08:00 |
|
Paco Xu
|
29aca9692c
|
overwrite known targets in patch manager cache in case it changes
|
2022-06-08 16:10:41 +08:00 |
|
ahrtr
|
972dc46a1f
|
replace deprecated io/ioutil with os and io for cmd
|
2022-02-01 13:59:41 +08:00 |
|
XinYang
|
72fd01095d
|
re-order imports for kubeadm
Signed-off-by: XinYang <xinydev@gmail.com>
|
2021-08-17 22:40:46 +08:00 |
|
XinYang
|
c2a8cd359f
|
re-order the imports in kubeadm
Signed-off-by: XinYang <xinydev@gmail.com>
Update cmd/kubeadm/app/cmd/join.go
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
|
2021-07-04 16:41:27 +08:00 |
|
Hong Xu
|
fbdb065498
|
TestGetPatchSetsForPathMustBeDirectory: Ensure the error type is os.PathError
Ensure the tested error is an os.PathError instead of only non-nil.
|
2021-04-18 20:41:59 -07:00 |
|
Lubomir I. Ivanov
|
5506049b87
|
kubeadm: add logic for patching components in util/patches
|
2020-06-26 02:14:47 +03:00 |
|