Kubernetes Prow Robot
16534deedf
Merge pull request #119351 from SataQiu/fix-kubeadm-20230716
...
kubeadm: remove the limitation that the 'ignorePreflightErrors' field can not be set to 'all' in kubeadm config file
2023-07-16 22:07:07 -07:00
SataQiu
bd9b78d686
kubeadm: remove the limitation that the 'ignorePreflightErrors' field can not be set to 'all' in kubeadm config file, and keep CLI / config consistent
2023-07-16 12:37:12 +08:00
Dave Chen
b883f30501
kubeadm: Support kubeadm config validate
for ResetConfiguration
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-15 19:29:18 +08:00
Kubernetes Prow Robot
871e6b5b8d
Merge pull request #119313 from chendave/migrate_config
...
kubeadm: Support `kubeadm config migrate` for ResetConfiguration
2023-07-15 00:31:22 -07:00
Dave Chen
8f9e2cb8a8
kubeadm: Support kubeadm config migrate
for ResetConfiguration
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-15 13:18:47 +08:00
SataQiu
22f0f2e210
kubeadm: add 'kubeadm config print reset-defaults' command for ResetConfiguration
2023-07-15 11:14:28 +08:00
Kubernetes Prow Robot
95c8d61918
Merge pull request #113583 from chendave/POC_resetCfg
...
kubeadm: implementation of `ResetConfiguration` API types
2023-07-14 04:05:48 -07:00
Dave Chen
2a907e6004
kubeadm: fix fuzzing for ResetConfiguration
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-14 17:03:37 +08:00
Dave Chen
2e6715bc77
kubeadm: implementation of ResetConfiguration
API types
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-14 17:03:31 +08:00
Kubernetes Prow Robot
20e60a03df
Merge pull request #110863 from claudiubelu/path-filepath-update-2
...
Replaces path.Operation with filepath.Operation (part 2)
2023-07-13 09:56:37 -07:00
Kubernetes Prow Robot
4c18d40af1
Merge pull request #119075 from chendave/test_gv
...
kubeadm: check the GV after the config migration
2023-07-04 22:00:54 -07:00
Kubernetes Prow Robot
76227fdb3d
Merge pull request #118874 from my-git9/dns-ut
...
kubeadm: increase ut coverage kubeadm/app/phases/dns
2023-07-04 19:30:54 -07:00
Dave Chen
31943cc3f4
kubeadm: check the GV after the config migration
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-05 10:04:12 +08:00
xin.li
c26e1ba10c
[UT] increase coverage kubeadm/app/phases/dns
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-07-04 22:11:32 +08:00
Kubernetes Prow Robot
3149875175
Merge pull request #119059 from pacoxu/migrate-experimental-v1beta4
...
kubeadm: fix "migrate config --allow-experimental-api" to print v1beta4 kubeadm configurations instead of v1beta3
2023-07-04 06:28:53 -07:00
Paco Xu
01b1174c11
kubeadm: fix "migrate config --allow-experimental-api" to print v1beta4 kubeadm configurations instead of v1beta3
2023-07-04 15:20:43 +08:00
Kubernetes Prow Robot
746b88c6ff
Merge pull request #118867 from chendave/env_custom
...
kubeadm: Support custom env in control plane component
2023-07-03 22:02:52 -07:00
Dave Chen
c68a6b0745
kubeadm: fix fuzzing for ExtraEnvs defined in the control plane component
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-04 10:01:26 +08:00
Dave Chen
80b035a116
kubeadm: Support custom env in control plane component
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-04 09:57:07 +08:00
Kubernetes Prow Robot
14b08b82e4
Merge pull request #118941 from neolit123/1.28-restore-test-function-for-config-migrate
...
kubeadm: restore and generalize the TestMigrateOldConfig test
2023-07-01 03:18:48 -07:00
Lubomir I. Ivanov
0537c1da56
kubeadm: move migrate / validate tests out of config_tests.go
...
Place the tests in common_tests.go on the backend side in
common_tests.go. A test for migrate TestMigrateOldConfig
was already present there. Apply slightly better coverage to it
and rename desc -> name.
Fix typo in argument oldConfig -> config in ValidateConfig().
2023-06-30 18:14:10 +03:00
Kubernetes Prow Robot
7bac0cee89
Merge pull request #118946 from SataQiu/clean-kubeadm-20230629
...
kubeadm: remove unused Kind and Resource functions from output API
2023-06-29 02:51:47 -07:00
Kubernetes Prow Robot
4036b6fb41
Merge pull request #118922 from champtar/kubeadm-backdate-ca
...
kubeadm: backdate generated CAs
2023-06-28 12:28:56 -07:00
SataQiu
24f4785e3e
kubeadm: remove unused Kind and Resource functions from output API
2023-06-29 00:16:38 +08:00
SataQiu
90f82d05ce
kubeadm: remove unused Kind and Resource functions from kubeadm internal API
2023-06-28 23:36:53 +08:00
Lubomir I. Ivanov
fd15c6791a
kubeadm: restore and generalize the TestMigrateOldConfig test
...
The test required two APIs to be available to test for migration.
Keep it simple and use a variable "gv" on top of the function body
to easily swap the version to be tested once an old API is deleted.
e.g. currently v1beta3 is the "old" API, v1beta4 is the "new" one.
Ultimately, this test only makes sure that the expected kinds are
available post migration.
2023-06-28 18:21:57 +03:00
Etienne Champetier
812556365b
kubeadm: backdate generated CAs by 5 minutes
...
This allow for a small time jump backward after
certificates generation.
Signed-off-by: Etienne Champetier <e.champetier@ateme.com >
2023-06-28 00:12:29 -04:00
Kubernetes Prow Robot
1c32c3bd9f
Merge pull request #118866 from neolit123/1.28-add-v1beta4-to-scheme
...
kubeadm: add v1beta4 to scheme; add --allow-experimental-api flag
2023-06-27 08:56:44 -07:00
SataQiu
4298953c26
kubeadm: remove unused Kind and Resource functions from v1beta4 API
2023-06-26 22:11:52 +08:00
Lubomir I. Ivanov
f04484fe77
kubeadm: add the --allow-experimental-api flag to "config" commands
...
Add the flag --allow-experimental-api to the "config migrate" and
"config validate" commands. The flag allows validating / migrating-to
a unreleased / experimental API version.
Add a new experimentalAPIVersions map in validateSupportedVersion()
that contains v1beta4.
2023-06-26 13:50:47 +03:00
Lubomir I. Ivanov
0774f779d5
kubeadm: add v1beta4 to the kubeadm API scheme
...
The highest priority is still v1beta3.
2023-06-26 13:43:47 +03:00
Kubernetes Prow Robot
027ac5a426
Merge pull request #118762 from neolit123/1.28-kubeadm-add-v1beta4-boilerplate
...
kubeadm: add v1beta4 API boilerplate
2023-06-25 22:05:08 -07:00
Lubomir I. Ivanov
edb59e9bc7
kubeadm: move token defaulting and related constants to token package
...
Move the defaulting of the BootstrapToken type inside the
bootstraptoken/v1 package. This prevents an error where
codegen complains that a defaulter for the type exists in both
the kubeadm v1beta3 and v1beta4.
Adapt kubeadm code to use the defaulter function and constants
that were moved to bootstraptoken/v1.
NOTE: technically this is a breaking change for direct users of
v1beta3/SetDefaults_BootstrapToken().
2023-06-21 13:34:21 +03:00
Kubernetes Prow Robot
2d60430a16
Merge pull request #118730 from my-git9/ut-features
...
[UT] increase coverage ut for kubeadm/app/features
2023-06-20 07:54:36 -07:00
Lubomir I. Ivanov
eecac05871
kubeadm: add v1beta4 API boilerplate
...
Create v1beta4 by copying v1beta3.
2023-06-20 14:33:30 +03:00
xin.li
180c2332bf
[UT] increase coverage ut for kubeadm/app/features
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-06-20 12:57:22 +08:00
Lubomir I. Ivanov
ede2ec22b6
kubeadm: drop older etcd versions from kubeadm support
...
- drop versions < 1.22 in the etcd map
- use 3.5.9-0 for >= 1.22 versions
- make the minimum version for external etcd 3.4.13-4 and max 3.5.9-0
- update images_test to not rely on a pinned etcd version in tests
note: the image 3.4.18-0 was never released in registry.k8s.io!
2023-06-18 15:38:53 +03:00
Kubernetes Prow Robot
2eb4eac581
Merge pull request #118353 from SataQiu/fix-kubeadm-test-20230531
...
kubeadm: add command-line integration test to ensure that the supported etcd version is always available for the stable Kubernetes version
2023-06-02 04:40:53 -07:00
SataQiu
daa7115907
kubeadm: add deprecation message for UpgradeAddonsBeforeControlPlane feature gate
2023-06-01 23:06:26 +08:00
Kubernetes Prow Robot
33a2438de9
Merge pull request #118341 from pacoxu/add-pacoxu-kubeadm
...
add pacoxu to kubeadm approvers
2023-06-01 04:33:46 -07:00
SataQiu
d49c43abde
kubeadm: add integration test to ensure that the supported etcd version is always available for the stable Kubernetes version
2023-06-01 18:45:06 +08:00
Paco Xu
f2a5e247eb
add pacoxu to kubeadm approvers list
2023-05-31 10:34:42 +08:00
Paco Xu
85e0d8c8b1
Revert "kubeadm: add --feature-gates flag for kubeadm upgrade node"
2023-05-31 00:30:08 +08:00
Kubernetes Prow Robot
320d915897
Merge pull request #118316 from SataQiu/fix-kubeadm-20230529
...
kubeadm: add --feature-gates flag for kubeadm upgrade node
2023-05-29 13:01:43 -07:00
Kubernetes Prow Robot
76bad75c1e
Merge pull request #118270 from pacoxu/warningonly-for-deprecatedFG
...
kubeadm: warning only for deprecated FG
2023-05-29 08:23:55 -07:00
SataQiu
4523a301c8
kubeadm: enable --feature-gates flag for kubeadm upgrade node
2023-05-29 21:32:42 +08:00
Paco Xu
0951204298
kubeadm: Supports() return true for all alpha/beta/ga/deprecated
2023-05-29 13:05:20 +08:00
SataQiu
c6aaa1eab0
kubeadm: lower the log level of EtcdSupportedVersion warning message as it is a kubeadm internal warning
2023-05-29 10:39:20 +08:00
Paco Xu
6a867eacd8
kubeadm: warning only for deprecated FG
2023-05-26 09:47:40 +08:00
Kubernetes Prow Robot
03ebd4b7ef
Merge pull request #116656 from HirazawaUi/fik-fd-leaks
...
Cleanup fd leaks and file removal cleanup
2023-05-24 22:50:50 -07:00