Commit Graph

78 Commits

Author SHA1 Message Date
tiansuo114 9b9847e3f7
Feature: karmadactl init supports deployment through configuration files
Signed-off-by: tiansuo114 <1729765480@qq.com>

fix lint

Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-10-25 17:02:59 +08:00
tiansuo114 2c57ebae0e
Support multiple label selection ability in EtcdNodeSelectorLabels
Signed-off-by: tiansuo114 <1729765480@qq.com>

fix ci

Signed-off-by: tiansuo114 <1729765480@qq.com>

add unit test

Signed-off-by: tiansuo114 <1729765480@qq.com>

change unit test

Signed-off-by: tiansuo114 <1729765480@qq.com>

rm mapsEqual

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

1111111111111111111111

Signed-off-by: tiansuo114 <1729765480@qq.com>

Update pkg/karmadactl/cmdinit/cmdinit.go

Co-authored-by: zhzhuang-zju <m17799853869@163.com>

use metav1.ParseToLabelSelector

Signed-off-by: tiansuo114 <1729765480@qq.com>

delete useless test

Signed-off-by: tiansuo114 <1729765480@qq.com>

11

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-09-09 20:05:23 +08:00
guozheng-shen 43bb7c75ce feat: karmadactl add ca-cert-path and ca-key-path opts
Signed-off-by: guozheng-shen <179826407@qq.com>
2024-07-11 21:30:44 +08:00
karmada-bot 8f9a624620
Merge pull request #4828 from liangyuanpeng/refactor_karmadactl_deploy
karmadactl: add common code for create and wait deployments.
2024-04-26 09:56:21 +08:00
Rohit Satya 71e203ea33 etcd:Update version to 3.5.13
Signed-off-by: Rohit Satya <work.rohitsatya@gmail.com>
2024-04-25 09:52:24 +05:30
Lan Liang e8aefe0aa8 karmadactl: add common code for create and wait deployments.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-17 11:41:13 +00:00
changzhen 4e8252291f add image-pull-policy flag for karmada init cmd
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-04-10 11:23:52 +08:00
Fish-pro c401a5d9f1 bump alpine to 3.19.1 to address CVE concerns
Signed-off-by: Zechun Chen <zechun.chen@daocloud.io>
2024-01-31 20:30:25 +08:00
jwcesign e36a80c86c cleanup: enable revive(blank-imports rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-10 10:07:55 +08:00
Zhizhen He 25a62c6c57
fix typo
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-12-17 16:12:03 +08:00
zhzhuang-zju d4bc240e91 bump alpine to 3.18.5 to address CVE concerns
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2023-12-06 11:05:17 +08:00
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
huangyanfeng b24b25dc3a gen certs remove ip 10.254.0.1
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-29 17:25:50 +08:00
chaosi-zju eabb38b876 remove insecureSkipTLSVerify in karmadactl
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-10-24 11:47:30 +08:00
karmada-bot 7c96e0db54
Merge pull request #3898 from tedli/external-etcd
karmadactl init with external etcd
2023-09-04 14:28:46 +08:00
lizhen6 1ad8fd311a refactor bundled to local
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-08-31 14:44:50 +08:00
Tanggui Bian 9607b9e807 Remove the execute permission from the directory
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-08-24 19:24:48 +08:00
lizhen6 9257a8d4dd external etcd, refactor based on review
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-08-17 10:27:29 +08:00
lizhen6 6938571230 karmadactl init with external etcd
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-08-11 14:04:21 +08:00
lizhen6 5f5c45f109 karmadactl init with external etcd
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-08-04 16:01:52 +08:00
Lan Liang e5babfebca etcd:Update version to 3.5.9
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2023-07-25 14:51:44 +08:00
karmada-bot e95c6050ea
Merge pull request #3665 from helen-frank/feature/karmadactlTimeout
karmadactl init add timeout flag
2023-06-20 11:33:47 +08:00
helen e6fc3eafee karmadactl init add timeout flag
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-06-20 10:23:18 +08:00
jwcesign 06efa55b46 feat: Support prerelease version parse
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-06-16 10:09:07 +08:00
lizhen6 06adeb96dc customizable cluster domain
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-03-30 14:03:54 +08:00
karmada-bot 7f5bb9dde6
Merge pull request #3221 from yanfeng1992/wait-dep-sts-rollout
check deployment statefulset rollout not use check pod ready
2023-03-16 17:39:20 +08:00
huangyanfeng fd062cecab check deployment statefulset rollout not use check pod ready
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-03-16 16:39:43 +08:00
xin.li 0065f18e28 feat: add image pull secret flags for karmadactl init
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-03-12 18:10:46 +08:00
lonelyCZ 680b05264a Make the validity period of cert configurable
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-02-20 10:55:05 +08:00
jwcesign 07d220781c Add ut for service.go
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-01-31 16:37:43 +08:00
jwcesign 3d8cce7473 Add ut for node.go
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-01-29 10:14:13 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
karmada-bot 9b626c0f01
Merge pull request #2840 from helen-frank/feature/AddKubeVersion
introduce kube-image-tag flag to karmadactl init
2022-12-16 15:21:43 +08:00
helen 5eaf574d4b introduce --kube-version flag to karmadactl init
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-15 10:51:43 +08:00
lonelyCZ f6721c4936 Fix that karmada-agent don't have permission to delete work resources
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-12-05 16:23:13 +08:00
zhuzhenghao 915b1857c9 Move to registry.k8s.io
Signed-off-by: zhuzhenghao <zhenghao.zhu@daocloud.io>
2022-11-29 18:55:22 +08:00
karmada-bot 9a4a6684c0
Merge pull request #2655 from helen-frank/feature/karmada-image-registry
introduce `--private-image-registry` flag to `karmadactl init`
2022-11-17 11:31:11 +08:00
helen d4f2104b3b introduce --private-image-registry flag to karmadactl init
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-17 09:56:28 +08:00
helen 3950562360 Karmadactl init use idempotency acceleration
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-14 18:10:26 +08:00
cleverhu 9b1baeb1d7 fix namespace already exist
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-09 10:15:52 +08:00
lonelyCZ 3dc11037cc karmadactl join/unjoin use factory to access control plane
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-07 16:02:45 +08:00
wlp1153468871 0dbb8f57b0 cleanup
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-09-30 10:09:38 +08:00
karmada-bot 6941012e9e
Merge pull request #2550 from wuyingjun-lucky/m_test
introduce karmada-apiserver-advertise-address
2022-09-29 09:57:02 +08:00
wuyingjun 56afd0b493 introduce karmada-apiserver-advertise-address
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-09-23 16:47:04 +08:00
jwcesign d8a35e2d9a Update helm install karmada with k8s 1.25.1
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-23 10:37:40 +08:00
jwcesign a6d26b287d Update k8s dependency to latest version(1.25.1) for karmadactl
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-22 15:49:57 +08:00
jwcesign cdaa9344f0 Fix bugs about karmada-data dir lost
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-22 11:23:45 +08:00
carlory b987910a6b remove service accounts for karmada components except for karmada-agent
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-17 23:14:41 +08:00
karmada-bot 25af090405
Merge pull request #2511 from carlory/fix-karmada-controllermanager
karmada-controller-manager removes unnecessary permissions
2022-09-17 22:56:47 +08:00
karmada-bot 7a6b17f6e7
Merge pull request #2450 from duanmengkk/fix_v6_error
fix karmadactl init pending when k8s is in ipv6 mode
2022-09-16 11:34:54 +08:00