SaumyaBhushan
df5c1bb1ea
added documentation about the format of certificateKey
...
Signed-off-by: SaumyaBhushan <saumya.bhushan666@gmail.com >
2023-09-10 19:50:42 +05:30
Kubernetes Prow Robot
fd8f2c7fc6
Merge pull request #120541 from pacoxu/kubeadm-fix-hash
...
kubeadm: add log for static pod manifest diff
2023-09-09 06:08:08 -07:00
Paco Xu
b443a841e3
kubeadm: add log for static pod manifest diff
2023-09-09 20:00:31 +08:00
Kubernetes Prow Robot
4c0d37e767
Merge pull request #120521 from SataQiu/clean-kubeadm-20230908
...
kubeadm: remove 'system:masters' organization from apiserver-etcd-client certificate
2023-09-08 05:26:25 -07:00
Kubernetes Prow Robot
4c43a25e6a
Merge pull request #119274 from tukwila/test_addons
...
kubeadm: add tests in ./cmd/phases/init/addons_test.go
2023-09-08 05:26:13 -07:00
guangli.bao
9feaefb5cb
Increase ut for kubeadm phases init addon
...
rename field casename to name
do go lint check
Update addons_test.go to remove whitespace
Signed-off-by: guangli.bao <guangli.bao@daocloud.io >
2023-09-08 15:35:17 +08:00
SataQiu
3e2bad02dc
kubeadm: remove 'system:masters' organization from apiserver-etcd-client certificate
2023-09-08 15:01:00 +08:00
Kubernetes Prow Robot
cd04f47e8b
Merge pull request #120381 from my-git9/dnsut1
...
kubeadm: increase ut coverage for addons/dns/dns.go
2023-09-03 20:21:47 -07:00
Kubernetes Prow Robot
03762cbcb5
Merge pull request #120316 from dims/move-to-new-repo-for-reference
...
New repo who dis? distribution/reference
2023-09-02 21:05:11 -07:00
xin.li
6f55437472
kubeadm: increase ut coverage for addons/dns/dns.go
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-09-03 11:07:59 +08:00
Davanum Srinivas
889c8e919b
New repo who dis? distribution/reference
...
github.com/docker/distribution/reference has a new home github.com/distribution/reference
and a new tag v0.5.0. Let's switch to that.
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-08-31 21:53:40 -04:00
dairlair
3c5a58c5f8
Refactor checkErr func
...
I moved a simpler condition to the beginning of the function (when the error == nil). This has substantially streamlined the function for readability and comprehension of its logic flow.
2023-08-31 17:29:08 +03:00
Kubernetes Prow Robot
3cf3702d1e
Merge pull request #119346 from chendave/clean_testcases
...
kubeadm: Remove the usage to print the default component configs for `reset` and `join`
2023-08-30 04:38:48 -07:00
Dave Chen
879dad9c2f
kubeadm: Remove the usage to print the default component configs for reset
and join
...
component configs is only needed for `kubeadm init`, the `join` and `reset` doesn't
need to provid the config with component configs.
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-08-30 15:38:21 +08:00
Kubernetes Prow Robot
973ea2d376
Merge pull request #120228 from pacoxu/kubeadm-learner-etcd-beta
...
kubeadm: promote EtcdLearnerMode to beta
2023-08-29 06:29:21 -07:00
Paco Xu
618e40c61b
kubeadm: promote EtcdLearnerMode to beta
2023-08-29 16:11:05 +08:00
Paco Xu
eb0afbc7d0
kubeadm: update swap warning for v1.28 change
2023-08-28 15:46:23 +08:00
Kubernetes Prow Robot
d4572d58db
Merge pull request #120186 from chendave/testcase_exported
...
kubeadm: Add testcases for exported method `ValueFromFlagsOrConfig`
2023-08-27 00:47:22 -07:00
Kubernetes Prow Robot
4cb47f2ba1
Merge pull request #120116 from tukwila/update-coredns-v1.11.0
...
update coredns to v1.11.1
2023-08-26 10:17:21 -07:00
SataQiu
628bbb9ef8
kubeadm: add supported etcd version for v1.29
2023-08-26 20:43:04 +08:00
Dave Chen
dcbe7755bf
kubeadm: Add testcases for exported method ValueFromFlagsOrConfig
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-08-26 18:41:43 +08:00
guangli.bao
78538bd303
update coredns to v1.11.0
...
update coredns to v1.11.1
update coredns-kubeadm to 1.11.1
bump up corefile-migration to v1.0.21 based on https://github.com/coredns/corefile-migration/releases/tag/v1.0.21
fix dns_test ut failure
Signed-off-by: guangli.bao <guangli.bao@daocloud.io >
2023-08-26 17:15:46 +08:00
Kubernetes Prow Robot
e043bc08d4
Merge pull request #119156 from neolit123/1.28-add-support-for-dup-extraargs
...
kubeadm add support for structured ExtraArgs
2023-08-21 02:49:22 -07:00
Kubernetes Prow Robot
a1fdef7d01
Merge pull request #120072 from SataQiu/fix-kubeadm-20230820
...
kubeadm: fix the bug that `--image-repository` flag is missing for some init phase sub-commands
2023-08-21 01:27:22 -07:00
SataQiu
093093593c
kubeadm: fix the field path for JoinControlPlane.CertificateKey validation
2023-08-20 17:35:18 +08:00
SataQiu
700b55b3b2
kubeadm: fix the bug that --image-repository flag is missing for some init phase sub-commands
2023-08-20 17:18:00 +08:00
Kubernetes Prow Robot
5b2167482d
Merge pull request #120064 from SataQiu/feat-kubeadm-20230819
...
kubeadm: add validation to verify that the CertificateKey is a valid hex encoded AES key
2023-08-19 23:59:21 -07:00
SataQiu
75a80d5aba
kubeadm: add validation to verify that the CertificateKey is a valid hex encoded AES key
2023-08-20 12:47:02 +08:00
Kubernetes Prow Robot
8377e0f538
Merge pull request #120042 from chendave/typo_namespaces
...
kubeadm: Fix typo where API group is not correct
2023-08-19 05:53:21 -07:00
Kubernetes Prow Robot
595a57940a
Merge pull request #120039 from chendave/move_testcases
...
kubeadm: Move the method used only in the test to `postupgrade_test.go`
2023-08-18 07:12:39 -07:00
Kubernetes Prow Robot
e2afa175e4
Merge pull request #120040 from chendave/unused_args
...
kubeadm: Cleanup the unused input parameters
2023-08-18 05:38:30 -07:00
Dave Chen
f407b31d42
kubeadm: Fix typo where API group is not correct
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-08-18 17:26:39 +08:00
Dave Chen
72af21e1a1
kubeadm: Cleanup the unused input parameters
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-08-18 17:20:22 +08:00
Dave Chen
1eb6282016
kubeadm: Move the method used only in the test to postupgrade_test.go
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-08-18 16:59:08 +08:00
xin.li
fd3f82531f
kubeadm: increase ut coverage fo util/kubeconfig
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-08-18 14:49:59 +08:00
Kubernetes Prow Robot
4f874a224a
Merge pull request #119562 from my-git9/proxyut
...
kubeadm: increase ut for cmd/kubeadm/app/phases/addons/proxy
2023-08-16 19:44:21 -07:00
git-jxj
a5b3a4b738
cleanup: Update deprecated FromInt to FromInt32 ( #119858 )
...
* redo commit
* apply suggestions from liggitt
* update Parse function based on suggestions
2023-08-16 09:33:01 -07:00
Lubomir I. Ivanov
7a6e056bbd
kubeadm: add TODO for NewMapStringString() and CLI extra-args
2023-08-16 13:27:05 +03:00
Lubomir I. Ivanov
f3da0d4ed3
kubeadm: update the rest of the code base for structured ExtraArgs
...
In all places map[string]string compounds were used directly
for extra args. Modify said locations to use []Arg
and the new utilities Get/SetArgValue(), ArgumentsTo/FromCommand().
2023-08-16 13:27:05 +03:00
Lubomir I. Ivanov
a505c7160e
kubeadm: adapt the validation and utils for structured ExtraArgs
...
Use []kubeadm.Arg instead of map[string]string when
validating ExtraArgs in the API.
Add new GetArgValue() and SetArgValue() utilities
and tests in apis/kubeadm.
Add new utils for constucting commands from and to
a []kubeadm.Arg slice.
2023-08-16 13:27:05 +03:00
Lubomir I. Ivanov
bc6fcb72a8
kubeadm: add structured ExtraArgs in v1beta4
...
Add a new type Arg that holds a dedicated Name and Value.
Instead of using map[string]string for ExtraArgs in the
API use []Arg.
Adapt v1beta3 conversion to convert to/from the
legacy map[string]string.
2023-08-16 13:27:05 +03:00
Kubernetes Prow Robot
b51ad13bf7
Merge pull request #119938 from my-git9/certlist-ut
...
kubeadm: increase ut for certs/certlist
2023-08-16 01:22:37 -07:00
Kubernetes Prow Robot
85e018634c
Merge pull request #119859 from SataQiu/fix-healthcheck-client-cert-20230809
...
kubeadm: remove 'system:masters' organization from etcd/healthcheck-client certificate
2023-08-16 01:22:26 -07:00
Kubernetes Prow Robot
0491866c64
Merge pull request #119753 from pacoxu/kubeadm-reset-nil
...
kubeadm: fix nil pointer when etcd member is already removed
2023-08-15 23:12:26 -07:00
Kubernetes Prow Robot
b406e49123
Merge pull request #119515 from haojue/dev/postupgradecomment
...
adjust order and fix typo for kube upgrade
2023-08-15 19:42:50 -07:00
xin.li
4950521ad8
kubeadm: increase ut for certs/certlist
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-08-16 10:04:03 +08:00
Kubernetes Prow Robot
5054f2954d
Merge pull request #119279 from chendave/dryrun_init
...
kubeadm: Make dry-run is configurable in initConfiguration and joinConfiguration
2023-08-15 15:18:03 -07:00
SataQiu
5fb543a411
kubeadm: remove 'system:masters' organization from etcd/healthcheck-client certificate
2023-08-09 19:23:06 +08:00
Paco Xu
3a2c4d6f09
kubeadm: fix nil pointer when etcd member is already removed
2023-08-04 11:37:00 +08:00
xin.li
1b8fb69d9e
kubeadm: increase ut for cmd/kubeadm/app/phases/addons/proxy
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-07-26 16:28:07 +08:00