Commit Graph

713 Commits

Author SHA1 Message Date
rayywu b7c5bc196b Add UT for deploy.go and statefulset.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-03-24 15:23:57 +08:00
karmada-bot 63cbdf3a4d
Merge pull request #3325 from my-git9/improve/output
chore: improve some format
2023-03-24 12:17:27 +08:00
xin.li 9500fced9b chore: improve some format
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-03-24 11:18:34 +08:00
lixingchenDaoCloud 2eaf3301b8 remove bootstrapKubeConfigFile error not check
Signed-off-by: lixingchenDaoCloud <captainchina_li@163.com>
2023-03-22 15:04:42 +08:00
lonelyCZ fb273dc715 Fixed unable to view the options for karmadactl addons enable/disable
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-03-20 22:30:58 +08:00
xin.li 662be91548 feat: add param of force for addon disable
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-03-20 10:02:16 +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
yanggang e9ff441c7c
Delete redundance code for pkg/karmadactl/get/get.go
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-03-13 16:25:35 +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
xin.li deba6e8ff5 [UT] increase ut coverage for utils/utils.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-03-01 21:23:45 +08:00
karmada-bot ea497819f0
Merge pull request #3179 from my-git9/ut-format
[UT] Add ut for utils/format.go
2023-02-20 17:45:23 +08:00
xin.li 871b5b49b7 [UT] Add ut for utils/format.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-20 14:19:06 +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
karmada-bot d21d57d3f5
Merge pull request #3155 from my-git9/ut-kubeconfig2
[UT] improve test for kubeconfig.go
2023-02-17 10:57:58 +08:00
xin.li 53a160659c [UT] improve test for kubeconfig.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-16 21:49:52 +08:00
lonelyCZ 8b67d22786 Fix UpdateOrCreateToken get secrets err handling optimization
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-02-15 21:26:38 +08:00
karmada-bot a9089325dc
Merge pull request #3145 from my-git9/ut-template
[UT] add ut for utils/template.go
2023-02-14 10:03:55 +08:00
xin.li b3de611707 [UT] add ut for cmdinit/kubeconfig.og
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-13 23:05:41 +08:00
xin.li 4367d8c4b3 [UT] add ut for utils/template.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-13 20:43:27 +08:00
chaunceyjiang 111f6b33e3 Replace "" with NamespaceAll.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-13 14:25:00 +08:00
xin.li 24cc58fcef [UT] add ut for cmdinit/cmdinit.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-09 21:42:59 +08:00
karmada-bot 57236e5ec3
Merge pull request #3134 from Fish-pro/chore/package
Clean up repeated package import
2023-02-09 17:10:52 +08:00
Fish-pro 108afef91b Clean up the problem of repeated package import
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-09 15:58:22 +08:00
karmada-bot 59227f0d4a
Merge pull request #3117 from my-git9/utrbac
[ut] add ut for utils/rbac.go
2023-02-08 16:34:50 +08:00
Fish-pro 05c759a19a Use http constants instead of string
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-07 15:51:00 +08:00
xin.li 374d68a663 [ut] add ut for utils/rbac.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-07 10:34:27 +08:00
karmada-bot 8a694133c4
Merge pull request #3111 from my-git9/cleanup/nodeut
[ut] improve ut coverage for node.go
2023-02-06 14:32:50 +08:00
xin.li e8a6e50a84 [ut] improve ut coverage for node.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-05 18:07:59 +08:00
xin.li c331bc5a4c [UT] add ut for kubernetes/secret.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-05 12:48:14 +08:00
karmada-bot 43c1a8c753
Merge pull request #3080 from RainbowMango/pr_update_k8s
Update Kubenetes dependencies to v1.26.1
2023-02-01 11:42:22 +08:00
jwcesign 07d220781c Add ut for service.go
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-01-31 16:37:43 +08:00
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
RainbowMango 68828d0a48 Adopt kubectl describe command refactor
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
jwcesign 3d8cce7473 Add ut for node.go
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-01-29 10:14:13 +08:00
jwcesign b388d30908 Add ut for deployments.go
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-01-18 16:38:44 +08:00
karmada-bot 051a0b35ee
Merge pull request #3041 from helen-frank/feature/UseUtilsEnvGetString
use k8s.io/utils/env GetString get env
2023-01-13 10:15:05 +08:00
helen cc759c6706 when UpdateOrCreateToken get secrets, if the error is not a NotFound, the error is thrown in time.
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-01-12 20:58:49 +08:00
helen d9aca2f458 use k8s.io/utils/env GetString get env
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-01-11 01:14:25 +08:00
karmada-bot 07bb65bfe7
Merge pull request #2831 from ikaven1024/interpret-ctl-edit
add edit mode for karmadactl interpreter command
2023-01-10 11:15:03 +08:00
Fish-pro 92c0f9c962 Use errors.Is to check for a specific error
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-01-03 09:44:51 +08:00
yingjinhui f161a2ab5d add edit mode for interpret command
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-30 18:22:40 +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 c8954de2b0
Merge pull request #2956 from helen-frank/feature/joinUseCurrentContext
Karmadactl join: default use current context
2022-12-23 16:32:48 +08:00
jwcesign c1747284ef Grant karmada-agent permission to access resourceinterpretercustomizations
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-21 12:24:30 +08:00
helen c47b53648b Karmadactl join: default use current context
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-16 16:49:17 +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
karmada-bot e47d6cb71b
Merge pull request #2949 from yanfeng1992/fixbug-unjoin-wait
CommandUnjoinOption wait must be a positive duration
2022-12-14 14:09:22 +08:00
huangyanfeng 17f105de05 CommandUnjoinOption wait must be a positive duration
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2022-12-12 17:43:48 +08:00
kingkonghong 3d40d6cf26 Remove duplicate RBAC permission configurations
Signed-off-by: kingkonghong <jayfantasyhjh@gmail.com>
2022-12-09 18:13:12 +08:00
karmada-bot efb50ade80
Merge pull request #2916 from chaunceyjiang/resourceinterpretercustomizations
fix resourceinterpretercustomizations webhook
2022-12-08 16:51:30 +08:00
chaunceyjiang 2aa025da76 fix resourceinterpretercustomizations webhook
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-07 18:05:55 +08:00
hejunhua 406cce3de6 fix that validating for resourceinterpreterwebhookconfigurations does not work
Signed-off-by: hejunhua <hejunhua@cestc.cn>
2022-12-07 17:54:04 +08:00
karmada-bot e6ba531a73
Merge pull request #2881 from ikaven1024/ut-interpret
[UT] add ut for interpret command
2022-12-07 10:29:18 +08:00
yingjinhui 36bc23183b ut for interpret command
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-06 12:30:44 +08:00
karmada-bot ad50c02bf3
Merge pull request #2903 from Fish-pro/fix/typo
Modify the error log output
2022-12-05 20:51:16 +08:00
chen zechun 7b64cc5e4e Correct the typos
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-05 18:27:28 +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
karmada-bot 2224d1e700
Merge pull request #2882 from Zhuzhenghao/registry.k8s.io
Move to registry.k8s.io
2022-12-01 15:08:03 +08:00
chen zechun 3c80772667 Modify error comparison
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-11-30 21:02:59 +08:00
RainbowMango 873cd9f3e6 Nominate resource interpreter owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-30 18:03: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 3f21fc1ab4
Merge pull request #2755 from chaunceyjiang/resourceInterpreter
Implement ResourceInterpreterCustomization ValidatingAdmission
2022-11-28 20:42:17 +08:00
jwcesign fe76107d4f Evolution failover to beta version
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-28 18:38:44 +08:00
chaunceyjiang 0c16431a51 Implement ResourceInterpreterCustomization ValidatingAdmission
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-28 18:30:43 +08:00
karmada-bot eb3763c201
Merge pull request #2824 from ikaven1024/interpret-ctl-execute
add execute mod for interpret command
2022-11-28 15:21:10 +08:00
yingjinhui 4a37e9ce91 add execute mode for karmadactl interpret subcommand
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-28 14:26:36 +08:00
karmada-bot 1975a145d0
Merge pull request #2682 from jwcesign/ut-v3
ut:add ut for token.go
2022-11-28 10:06:11 +08:00
jwcesign 92cfe28c3e ut:add ut for token.go
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-26 16:52:59 +08:00
karmada-bot 80f3778908
Merge pull request #2867 from chaunceyjiang/painc
fix karmadactl interpret panic
2022-11-25 15:51:09 +08:00
chaunceyjiang 2deab7877f fix karmadactl interpret panic
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-24 22:06:00 +08:00
lonelyCZ d398d630f4 Fix karmadactl register failed to read kubeconfig file
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-24 14:35:14 +08:00
karmada-bot 63a67d7cbd
Merge pull request #2825 from jwcesign/code-review-fix
Add more logs and delete some redundant code
2022-11-24 14:28:07 +08:00
jwcesign 2c3141980e Add more logs and delete some redundant code
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-23 16:12:13 +08:00
karmada-bot 23db2ac9d6
Merge pull request #2847 from RainbowMango/pr_kube_dep_125
Update Kubernetes dependencies to v1.25.4
2022-11-23 11:11:08 +08:00
RainbowMango 37ba914420 quick fix for StandardStorage interface extension
quick fix for kubectl apply options validation

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 09:52:48 +08:00
karmada-bot 9da3e184f9
Merge pull request #2832 from Songjoy/fix-karmada
karmadactl register add args check
2022-11-22 16:19:06 +08:00
宋文杰 5185b865f0 karmadactl register add args check
Signed-off-by: 宋文杰 <wenjie.song@daocloud.io>
2022-11-22 09:57:17 +08:00
karmada-bot 9605609168
Merge pull request #2750 from ikaven1024/inpreter-ctl
add interpret command
2022-11-22 09:54:05 +08:00
yingjinhui 81b2596ec1 add karmadactl interpret subcommand
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-21 20:18:35 +08:00
karmada-bot f7cac365d7
Merge pull request #2826 from lonelyCZ/pr-improve-karmadactl-description
Improve karmadactl command description
2022-11-21 10:33:04 +08:00
cleverhu e1e1616197 unify namespace and name style
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-19 23:42:01 +08:00
lonelyCZ a239d538d1 Fix MutatingWebhookConfig and ValidateWebhookConfig aren't updated
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-18 20:30:20 +08:00
lonelyCZ 02fd98a4c1 Improve karmadactl command description
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-18 10:00:32 +08:00
cleverhu 47117a27c1 optimize initAPIService
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-17 14:39:36 +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
karmada-bot 5d57de320e
Merge pull request #2817 from carlory/add-probe
karmadactl: add liveness probe into kube-controller-manager
2022-11-17 11:03:30 +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
karmada-bot 06ca219b2b
Merge pull request #2787 from helen-frank/feature/KarmadactlGetAddValidateCluster
karmadactl get: add validate cluster exist
2022-11-16 23:25:00 +08:00
helen 39baa63c7c karmadactl get: add validate cluster exist
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-16 18:31:13 +08:00
carlory d8246db213 karmadactl: add liveness probe into kube-controller-manager
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-11-16 17:51:01 +08:00
karmada-bot a16710a94e
Merge pull request #2790 from lonelyCZ/pr-fix-idempotency
Fix some call errors of `idempotency.go`
2022-11-16 15:23:59 +08:00
karmada-bot cf2faa2ee3
Merge pull request #2785 from wuyingjun-lucky/addons_owns
Put wuyingjun-lucky onto karmadactl addons owner list
2022-11-16 14:09:04 +08:00
lonelyCZ 3dd4f3a97b Fix some call errors of idempotency.go
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-16 11:22:40 +08:00
karmada-bot ff7d1a9e15
Merge pull request #2791 from helen-frank/feature/UseIdempotency
Karmadactl init use idempotency acceleration
2022-11-16 10:31:26 +08:00
karmada-bot d653b7aa21
Merge pull request #2795 from jwcesign/use-image-in-docker
Download images from dockerhub by default
2022-11-15 14:42:25 +08:00
cleverhu 136429ed04 fix etcd sts name hardcode
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-14 19:25:29 +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
helen 6fcd98264f optimize ParseIP
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-14 15:06:10 +08:00
jwcesign 6fbcf8cf9d Change repo to dockerhub
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 11:30:02 +08:00
karmada-bot 25abf99991
Merge pull request #2505 from cleverhu/fix-namespace-already-exist
fix namespace already exist
2022-11-13 20:16:57 +08:00
wuyingjun 2c75928c80 put wuyingjun-lucky onto karmadactl addons owner list
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-13 12:02:10 +08:00
karmada-bot f0d1e9b68a
Merge pull request #2664 from lonelyCZ/pr-package-karmadactl-subcmd
Package subcommands of karmadactl to make it clearer
2022-11-11 09:43:56 +08:00
lonelyCZ faa6b64cd6 Package subcommands of karmadactl to make it clearer
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-10 14:31:57 +08:00
karmada-bot b9612c2e83
Merge pull request #2765 from Poor12/fix-io-readall
Add limitReader to io.ReadAll
2022-11-10 11:23:20 +08:00
karmada-bot 393fb9d598
Merge pull request #2684 from helen-frank/feature/NewFactoryMerge
New Factory global flags merge function
2022-11-10 10:00:20 +08:00
Poor12 64eff43fdb Add limitReader to io.ReadAll
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-09 12:19:13 +08:00
yanggang e040e0ef3c
fix wrong description for "dry-run" option
Signed-off-by: yanggang <gang.yang@daocloud.io>
2022-11-09 11:24:10 +08:00
helen 3e774496cf New Factory global flags merge.
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-09 10:43:15 +08:00
cleverhu 9b1baeb1d7 fix namespace already exist
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-09 10:15:52 +08:00
helen 7273a58f64 karmadactl uncordon add dryrun
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-08 23:35:05 +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
karmada-bot 052de02155
Merge pull request #2694 from lonelyCZ/pr-promote-factory
karmadactl promote uses factory to access cluster
2022-11-07 09:56:48 +08:00
karmada-bot 60d04d2ff6
Merge pull request #2673 from RachaelLuo/feature/CmdInitEmptyArgs
Add arges check for karmadactl deinit
2022-11-07 09:48:29 +08:00
lonelyCZ 7b44385441 karmadactl promote uses factory to access cluster
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-04 15:18:48 +08:00
宋文杰 39e4b34fe8 karmadactl token:print correct register command according to the karmada-context flag
Signed-off-by: 宋文杰 <wenjie.song@daocloud.io>
2022-11-03 14:45:29 +08:00
lonelyCZ 54ea4f4be1 Fix karmadactl token that can't set --kubeconfig
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-02 15:39:19 +08:00
karmada-bot f32741e13f
Merge pull request #2724 from lonelyCZ/pr-karmadactl-util-idempotency
Fix and unify `CreateOrUpdateXXX` functions for karmadactl
2022-11-02 11:32:25 +08:00
lonelyCZ 0b535a4d12 Fix and unify CreateOrUpdateXXX functions for karmadactl
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-01 20:50:33 +08:00
chaunceyjiang 1a6b35649c replace the ioutil by the os and io
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-01 14:15:26 +08:00
karmada-bot ca0f10c5ad
Merge pull request #2502 from calvin0327/compatible-with-1.24-master-label
karmadactl are compatible with v1.24 master node label
2022-10-31 17:24:23 +08:00
wlp1153468871 bb0ba44e71 fix error description
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-10-28 18:55:16 +08:00
karmada-bot f54375d974
Merge pull request #2672 from ikaven1024/ut-download
[ut] improve download from httptest
2022-10-28 09:01:22 +08:00
yingjinhui 1ba5360c94 [ut] improve download from httptest
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-27 22:42:09 +08:00
karmada-bot 5d42e82b7b
Merge pull request #2596 from lonelyCZ/pr-agent-cert-rotation
Implement auto certificate rotation function for karmada-agent
2022-10-27 14:20:20 +08:00
lonelyCZ 241f722a59 Introduce --enable-cert-rotation option to karmadactl register command
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-10-27 12:56:45 +08:00
chen zechun f01e9bfa54 Add a description for the karmadactl subcommand
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-10-25 23:46:20 +08:00
karmada-bot 5a1addf693
Merge pull request #2610 from helen-frank/feature/taintFactory
karmadactl taint uses factory to access cluster
2022-10-24 10:48:18 +08:00
yipping.luo 1097c49674 add arges check
Signed-off-by: yipping.luo <yinping.luo@daocloud.io>
2022-10-22 23:46:41 +08:00
lonelyCZ b2d3bbdf39 karmadactl token uses factory to access cluster
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-10-21 22:20:15 +08:00
helen ffb17f623b karmadactl get uses factory to access cluster.
Signed-off-by: helen <helenfrank@protonmail.com>
2022-10-21 17:33:27 +08:00
helen 619c9b6e1e karmadactl taint uses factory to access cluster
Signed-off-by: helen <helenfrank@protonmail.com>
2022-10-21 15:12:52 +08:00
jwcesign d5e7a7fe7c UT: add ut for rbac.go and webhook_configuration.go
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-10-20 17:33:42 +08:00
Poor12 1414d7b9ba add gen-docs
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 15:35:46 +08:00
calvin0327 01948be8d7 karmadactl are compatible with v1.24 master node label
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-10-18 11:00:13 +08:00
karmada-bot c0349fe429
Merge pull request #2570 from helen-frank/feature/applyFactory
karmadactl apply uses factory to access member cluster
2022-10-14 14:56:10 +08:00
helen 0f5754ad14 karmadactl apply uses factory to access member cluster
Signed-off-by: helen <helenfrank@protonmail.com>
2022-10-14 13:36:51 +08:00
karmada-bot 3e8ed1db96
Merge pull request #2611 from helen-frank/feature/cordonFactory
karmadactl cordon&uncordon uses factory to access cluster
2022-10-13 18:56:26 +08:00
karmada-bot 378fb86cc4
Merge pull request #2577 from lixingchenDaoCloud/addons-enable-flags
addons enable cluster flag usage description wrong
2022-10-13 16:11:09 +08:00
karmada-bot cbc54497c7
Merge pull request #2612 from liangyuanpeng/fix_nil_map_panic
raise an error when there is no healthy nodes for etcd installation
2022-10-13 15:35:14 +08:00
lixingchenDaoCloud 4039fbf158 addons enable cluster flag usage description wrong
Signed-off-by: lixingchenDaoCloud <captainchina_li@163.com>
2022-10-13 14:56:15 +08:00
yipping.luo 07b39b4b1f Add args greater than one
Signed-off-by: yipping.luo <yinping.luo@daocloud.io>

fix error message

Signed-off-by: yipping.luo <yinping.luo@daocloud.io>

rebase
2022-10-09 10:56:23 +08:00
Lan Liang de06486124 Use error message of failed to find a healthy node for karmada-etcd for can not found note to scheduled etcd
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2022-10-09 10:02:30 +08:00
helen be4b3c829a karmadactl cordon&uncordon uses factory to access cluster
Signed-off-by: helen <helenfrank@protonmail.com>
2022-10-04 17:33:13 +08:00
chen zechun 828e2c945f Modify the wrong noun for karmadactl
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-10-02 22:55:41 +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
xin.li 5cc3d9f5ab Add livenesProbe for karmada-aggregated-apiserver
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-09-26 21:05:55 +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
karmada-bot 6102f41e81
Merge pull request #2548 from jwcesign/fix-dir-lost
karmadactl: Fix karmada-data directory not inilization isssue
2022-09-22 12:12:51 +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
karmada-bot 91e4e729f1
Merge pull request #2540 from helen-frank/fix/deinitHelp
`karmadactl`: Fixed options of `deinit` can not be shown issue.
2022-09-22 10:07:56 +08:00
karmada-bot ab889889fa
Merge pull request #2547 from jwcesign/fix-service-account
Delete service-account for karmada-controller-manager
2022-09-20 20:10:49 +08:00
jwcesign 6cc0d957fc Delete service-account for karmada-controller
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-20 14:44:17 +08:00
jeffeylan 63c189b381 Fix a typo(Registeration) in CLI #2543
Signed-off-by: jeffeylan <jeffreyliutao@didiglobal.com>
2022-09-20 14:29:37 +08:00
helen 9d9e0ec9e6 deinit help fix
Signed-off-by: helen <helenfrank@protonmail.com>
2022-09-20 00:11:12 +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
karmada-bot 1af078cd4a
Merge pull request #2515 from lonelyCZ/pr-agent-create-works
Fix that the ServiceExport can't be reported to control plane by karmada-agent
2022-09-15 09:01:18 +08:00
lonelyCZ 111c74191e Fix that the ServiceExport can't be reported to control plane by karmada-agent
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-09-14 17:51:27 +08:00
karmada-bot c2ac9c2e30
Merge pull request #2497 from helen-frank/fix/CmdInitEmptyArgs
cmdinit prohibit passing in additional parameters
2022-09-14 17:25:20 +08:00
helen cc55931656 Prohibit passing in additional parameters
Signed-off-by: helen <helenfrank@protonmail.com>
2022-09-14 10:42:48 +08:00
carlory c247537d66 karmada-controller-manager removes unnecessary permissions
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-13 21:22:06 +08:00
karmada-bot ac2e905356
Merge pull request #2471 from carlory/karmadactl-describe
karmadactl describe uses factory to access member cluster
2022-09-12 23:36:15 +08:00
panguicai008 2dd2dfc6ec fix MEMBER_CLUSTER_NAME command usage
Signed-off-by: panguicai008 <1121906548@qq.com>
2022-09-09 14:06:33 +08:00
karmada-bot 707ae14cb9
Merge pull request #2298 from carlory/karmadactl-options
disable flags in use line
2022-09-08 09:45:11 +08:00
carlory 682924be23 karmadactl describe uses factory to access member cluster
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-08 00:16:00 +08:00
karmada-bot 49fd8180c8
Merge pull request #2470 from carlory/karmadactl-exec
karmadactl exec uses factory to access member cluster
2022-09-06 20:37:08 +08:00
carlory fea61dad3f disable flags in use line
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-06 11:10:45 +08:00
xin.li 854ba1dfac improve karmada init help output
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-09-05 13:22:20 +08:00
carlory d17ac13964 karmadactl exec uses factory to access member cluster
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-05 01:25:26 +08:00
karmada-bot fd1c0b2ebc
Merge pull request #2202 from carlory/karmadactl-factory
introduce factory interface for karmadactl
2022-09-02 15:21:02 +08:00
wuzhongjian 9982852b59 Add default path prompt for deinit to delete etcd data
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-09-02 09:10:29 +08:00
carlory eb31ff4740 karmadactl logs uses factory to access member cluster
Signed-off-by: carlory <baofa.fan@daocloud.io>

Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2022-09-01 22:42:24 +08:00
carlory 44e3c5e351 introduce factoryexpansion interface for karmadactl
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-01 09:33:54 +08:00
duanmeng bd6b872a8d fix karmadactl init pending when k8s is in ipv6 mode
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-08-30 18:55:27 +08:00
lonelyCZ 83cd8cd9bc Fix it is error to delete member clusters
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-26 15:48:21 +08:00
karmada-bot 54d0a2d07a
Merge pull request #2409 from lonelyCZ/pr-init-print
Optimize `karmadactl init` to output example
2022-08-25 16:36:53 +08:00
lonelyCZ a4a612e9bb Optimize karmadactl init to output example
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 19:28:41 +08:00
lonelyCZ 4b4ca14345 Implement karmadactl register for joining clusters with PULL mode
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 15:41:48 +08:00
karmada-bot d1150abbb9
Merge pull request #2399 from lonelyCZ/pr-karmadactl-token
Implement karmadactl token command to manage bootstrap tokens
2022-08-23 12:41:50 +08:00
lonelyCZ fbc9599510 Implement karmadactl token command to manage bootstrap tokens
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 11:31:00 +08:00
lonelyCZ 59c17d911f Set the required RBAC to enable the certificate signing request
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-22 15:42:54 +08:00
karmada-bot 674641c1fa
Merge pull request #2369 from yy158775/id_join
avoid joining the same cluster repeatedly
2022-08-19 14:28:46 +08:00
karmada-bot 303d4652ef
Merge pull request #2312 from lonelyCZ/pr-cluster-info
Set open cluster-info to distribute root CA certificates
2022-08-19 10:56:46 +08:00
lonelyCZ 37247f6081 Set open cluster-info to distribute root CA certificates
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-17 14:39:29 +08:00
yy158775 23dd9cadcb solve cluster id repeat to join
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-17 12:05:40 +08:00
lonelyCZ 818a9e3368 Standardize the generation of certificates for karmadactl init
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-16 15:35:03 +08:00
karmada-bot 66af6ef502
Merge pull request #2313 from yy158775/unique_id
add ID the unique identifier for push and pull mode's cluster
2022-08-12 14:57:10 +08:00
yy158775 474933826b add ID the unique identifier for push and pull mode's cluster
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-12 09:37:50 +08:00
karmada-bot 6f4b24a26d
Merge pull request #1653 from Poor12/add-desheduler
Add warnings when config cluster-namespace as karmada-system
2022-08-09 18:50:08 +08:00
karmada-bot 6dee3c50eb
Merge pull request #2262 from wlp1153468871/wlp
use kubectl describe to implement karmadactl describe
2022-08-09 10:08:07 +08:00
karmada-bot 8c6a357a43
Merge pull request #2269 from zhuwint/devctl
Adjust the order of kubeconfig loadingRules
2022-08-05 16:45:06 +08:00
wuzhongjian 161c16de24 Fix 'namespace karmada-cluster not found' when cluster is being registered with 'pull' mode
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-08-05 13:52:37 +08:00
karmada-bot a24effba96
Merge pull request #2310 from wuyingjun-lucky/karmada_addon_owners
Put wuyingjun-lucky onto karmadactl addons owner list
2022-08-03 09:26:00 +08:00
karmada-bot 65757bf124
Merge pull request #2205 from my-git9/apply2
fix karmadactl apply help
2022-08-02 19:21:58 +08:00
wuyingjun a92a5266d4 put wuyingjun-lucky onto karmadactl addons owner list
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-08-02 16:27:54 +08:00
karmada-bot bda97036c7
Merge pull request #2134 from wuyingjun-lucky/karmada_addon
Add karmadactl addons subcommand
2022-08-02 16:02:58 +08:00
karmada-bot e153614477
Merge pull request #2283 from lonelyCZ/pr-options-cmd
karmadactl: Introduce options subcmd to list global command-line options
2022-08-01 16:00:57 +08:00
wlp1153468871 f1db971b44 use kubectl describe to implement karmadactl describe
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-07-29 22:58:25 +08:00
carlory 9a101ec68c Put carlory onto the karmadactl owner list
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-29 22:04:55 +08:00
lonelyCZ 13ad47d2ab Introduce options subcmd to list global command-line options
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-07-29 16:33:21 +08:00
zhuwint 1447909f68 Adjust the order of kubeconfig loadingRules
Signed-off-by: zhuwint <zhuwentao15@huawei.com>
2022-07-28 11:13:20 +08:00
karmada-bot 6bd9f68a0d
Merge pull request #2164 from carlory/iostreams
take iostreams as a func parameter
2022-07-28 08:54:53 +08:00
wuyingjun 98ef6281a6 Support Karmada addon commands
Co-authored-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-07-27 00:58:01 +08:00
chen zechun a94bc2b1bc Modify join and unjoin validation
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-26 18:34:04 +08:00
carlory dce8e27332 karmadactl allow users to select one or many member clusters to propagate resources.
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-26 13:30:35 +08:00
jacky f0ab1dbc50 Comment should start with a whitespace and Uppercase
Signed-off-by: jacky <peng.chen@daocloud.io>
2022-07-25 14:59:23 +08:00
karmada-bot 6969a5d643
Merge pull request #2129 from Fish-pro/fix-karmadactl-example
karmadactl-example:print example by templates like kubectl
2022-07-23 10:24:49 +08:00
carlory dfa793f229 take iostreams as a func parameter that can be used by logs, get, describe and exec.
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-23 08:30:18 +08:00
karmada-bot fec1464ca2
Merge pull request #2153 from TheStylite/wuchen
karmadactl describe support the --namespace flag
2022-07-22 18:11:47 +08:00
chen zechun 6dffaf5e0f print example by templates like kubectl
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-22 15:46:08 +08:00
karmada-bot eff23524d7
Merge pull request #2220 from my-git9/initversion
fix karmada init help crd version
2022-07-22 15:24:47 +08:00
karmada-bot 9fedf66222
Merge pull request #2233 from lonelyCZ/pr-group-cmd
Group the subcommands of karmadactl
2022-07-22 11:40:46 +08:00
Poor12 3ef7798213 Apply cachedRESTMapper for other Karmada components
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-21 19:26:52 +08:00
lonelyCZ 5dd268f598 Group the subcommands of karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-07-21 18:52:42 +08:00
xin.li 710d71c75d improve karmada init version
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-07-19 22:04:13 +08:00
karmada-bot 7efc6bc2d6
Merge pull request #2206 from carlory/remove-useless-field
remove useless field from CommandGetOptions
2022-07-19 14:16:44 +08:00
karmada-bot fa4fecaa24
Merge pull request #2193 from carlory/fix-karmadactldescribe
remove unused flag for karmadactl promote
2022-07-18 09:36:42 +08:00
carlory 493b2da7ed remove useless field from CommandGetOptions
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-17 10:06:31 +08:00
xin.li cc4589b3bd fix karmadactl apply help
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-07-16 20:44:16 +08:00
xin.li 55008d1b6a improve karmadactl promte -h
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-07-16 18:54:10 +08:00
TheStylite 6ef71bff4d karmadactl describe support the --namespace flag
Signed-off-by: TheStylite <848099532@qq.com>
2022-07-15 17:05:02 +08:00
karmada-bot 0432fba76d
Merge pull request #2190 from carlory/fix-karmadactlget
remove unused flag for karmadactl get
2022-07-15 16:06:39 +08:00
karmada-bot 0bc4742a2b
Merge pull request #2178 from carlory/remove-DisableFlagsInUseLine
enable addition of [flags] to the usage line
2022-07-15 15:40:39 +08:00
carlory a78bc65af5 remove unused flag for karmadactl promote
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-15 07:23:48 +08:00
carlory a3367e7e9e remove unused flag for karmadactl get
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-14 21:26:32 +08:00
luomonkeyking 9d58dc5e39 Modify the default storage type of etcd to hostPath
Signed-off-by: luomonkeyking <luomonkeyking@gmail.com>
2022-07-14 20:53:01 +08:00
karmada-bot f46d90f6b4
Merge pull request #2000 from carlory/karmadactl-apply
karmadactl support apply command
2022-07-14 14:51:38 +08:00
karmada-bot 6bd435a5e0
Merge pull request #2163 from AllenZMC/karmadactl
improve karmadactl command line description
2022-07-14 09:11:37 +08:00
carlory 3610f6dd3e karmadactl support apply command
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-13 14:02:07 +08:00
carlory af8b7c86f8 enable addition of [flags] to the usage line of a command when printing help or generating docs
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-13 13:09:30 +08:00
karmada-bot a70f1fb120
Merge pull request #2098 from carlory/karmadactl-log
use kubectl logs to implement karmadactl logs
2022-07-13 10:22:36 +08:00
carlory 4ee623c1e2 use kubectl logs to implement karmadactl logs
Signed-off-by: carlory <baofa.fan@daocloud.io>

Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
2022-07-12 23:17:46 +08:00
AllenZMC 5321de1e6d improve karmadactl command line description
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-07-12 17:22:06 +08:00
lonelyCZ da2868bc42 karmadactl exec: check if --cluster specify
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-07-12 14:34:41 +08:00
karmada-bot 46490a6513
Merge pull request #2171 from my-git9/karmadactl3
Fix karmadactl get -C error
2022-07-12 12:05:36 +08:00
xin.li da6e031392 Fix karmadactl get -C error
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-07-12 11:16:30 +08:00
chang.qiangqiang 5fd569b0d6 feat: add cluster agent register flag
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-12 10:15:20 +08:00
karmada-bot a50e31ddaf
Merge pull request #2148 from carlory/fix-karmadactl-get
allow to read namespace from the context field of karmada config when use the karmadactl get command
2022-07-11 21:52:35 +08:00
karmada-bot d2bd9d9823
Merge pull request #2092 from carlory/karmadactl-exec
use kubectl exec to implement karmadactl exec and introduce the `--namespace` flag
2022-07-11 15:33:35 +08:00
Poor12 41bf329bde add warnings when config cluster-namespace as karmada-system
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-11 14:20:21 +08:00
karmada-bot 4121cda7d3
Merge pull request #2144 from XiShanYongYe-Chang/upgrade-karmada-apiserver
Upgrade default karmada-apiserver from v1.23.8 to v1.24.2
2022-07-11 09:57:40 +08:00
carlory a31315c0e9 use kubectl exec to implement karmadactl exec
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-10 22:47:40 +08:00
RainbowMango f5eeaf6dd3 Fixed misleading or outdate comments about --cluster-namespace flag
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-09 18:35:48 +08:00
changzhen a703560296 upgrade default karmada-apiserver from v1.23.8 to v1.24.2
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-07-09 14:40:10 +08:00
karmada-bot 821a18542e
Merge pull request #1990 from CharlesQQ/cluster-pull-secret
feat: agent report secret
2022-07-08 10:56:31 +08:00
karmada-bot 6adce059d6
Merge pull request #2140 from Fish-pro/fix-option-lowercase
karmadactl:modify the cluster parameter from lowercase to uppercase
2022-07-08 10:37:34 +08:00
karmada-bot 3aa00ac72f
Merge pull request #2124 from carlory/fix-karmadactl
improve karmadactl description
2022-07-08 10:32:39 +08:00
carlory 796383dc63 allow to read namespace from the context field of karmada config
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-07 21:12:01 +08:00
charlesQQ 8738617ad0 feat: agent report secret
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-07 14:26:07 +08:00
chen zechun 13600f02b9 modify the promote option of cluster lowercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-07 08:02:12 +08:00
karmada-bot bffd4f8bba
Merge pull request #2132 from Fish-pro/fix-namespace-usage
karmadactl:modify the usage of cluster-namespace
2022-07-05 18:24:33 +08:00
chen zechun 4111e8342a Modify the usage of cluster-namespace
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-05 17:11:30 +08:00
changzhen 708b39eb6d upgrade default karmada-apiserver from v1.22.10 to v1.23.8
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-07-05 15:37:17 +08:00
carlory c60573df9a improve karmadactl description
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-04 20:37:50 +08:00
karmada-bot 18e3fba143
Merge pull request #2016 from zgfh/deinit-update
feature: `deinit` add param of `force`
2022-07-04 14:47:27 +08:00
karmada-bot 417dc98478
Merge pull request #2094 from wuyingjun-lucky/gci
Add gci to seperate goimports to three parts
2022-07-04 09:28:26 +08:00
wuyingjun d6b4fac842 add gci to seperate goimports to three parts
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-07-03 11:09:50 +08:00
karmada-bot 6b69d11748
Merge pull request #2093 from wuyingjun-lucky/misspell
Add misspell in golangci
2022-07-01 23:21:25 +08:00
karmada-bot 3a74e2c8d1
Merge pull request #2022 from carlory/remove-useless-function
remove useless function in the get_flags.go file
2022-07-01 12:11:23 +08:00
wuyingjun 5d3185b622 add misspell to golangci
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-30 16:47:00 +08:00
carlory ed428ac0ee remove useless function in the get_flags.go file
Signed-off-by: carlory <baofa.fan@daocloud.io>

Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
2022-06-30 09:58:43 +08:00
karmada-bot 0abb792bbf
Merge pull request #1850 from hanweisen/adde2etest
[E2E] add karmadactl cordon/uncordon e2e test
2022-06-29 10:44:21 +08:00
karmada-bot 61072d117c
Merge pull request #2043 from Poor12/test
Add health probe for Karmada-agent
2022-06-24 16:24:16 +08:00
Poor12 a8af99e31c Add health probe for Karmada-agent
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-06-24 14:15:38 +08:00
karmada-bot 4440645e09
Merge pull request #2039 from AllenZMC/liveness
add livenessProbe for karmada-controller-manager
2022-06-23 10:21:15 +08:00
karmada-bot bd5ff7a86d
Merge pull request #2048 from chaunceyjiang/join_zone_region
Manually specify the Zone and Region of the cluster
2022-06-22 15:12:14 +08:00
karmada-bot 0601e11a82
Merge pull request #2045 from wlp1153468871/wlp
improve webhook_configuration.go
2022-06-22 14:39:14 +08:00
chaunceyjiang 6ac2a75e6b Manually specify the Zone and Region of the cluster
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-06-22 14:13:52 +08:00
karmada-bot b4a130487b
Merge pull request #2044 from my-git9/deployments4
improve deployments.go
2022-06-22 13:51:14 +08:00
wlp1153468871 1c7494bf4f improve code
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-06-22 10:47:25 +08:00
karmada-bot 588fae9287
Merge pull request #2029 from RainbowMango/pr_add_prodanlabs
Add prodanlabs to approver list
2022-06-22 08:51:18 +08:00
karmada-bot c1b6df2a77
Merge pull request #2021 from RainbowMango/pr_lonelycz
Put lonelyCZ to owner files
2022-06-22 08:50:15 +08:00
xin.li dede5ad078 improve deployments.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-06-21 16:55:23 +08:00
karmada-bot 66857b67b3
Merge pull request #2038 from cutezhangq/imports/package
The package imports can be improved
2022-06-21 09:22:13 +08:00
AllenZMC 7fd951e95a add livenessProbe for karmada-controller-manager
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-20 23:28:41 +08:00
cutezhangq 7bbf649e5f imports/package
Signed-off-by: cutezhangq <qian.zhang@daocloud.io>
2022-06-20 22:58:43 +08:00
RainbowMango 43be572ebd Add prodanlabs to approver list
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-20 10:20:50 +08:00
carlory ac1121365a remove dry-run from GlobalCommandOptions
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-06-19 00:06:39 +08:00
RainbowMango 5a3266c3e2 Put lonelyCZ to owner files
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-17 18:14:09 +08:00
hanweisen 429dae2340 add karmadactl cordon/uncordon e2e test
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-17 09:58:31 +08:00
Alan Zhu 2048c4a42d
`deinit` add param of `force`
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-06-17 08:10:53 +08:00
karmada-bot 8304974169
Merge pull request #1933 from my-git9/deinit-1
modify output for deinit
2022-06-16 15:33:13 +08:00
karmada-bot 75019ad1e2
Merge pull request #1883 from xyz2277/karmada-zyx-8
add Error message when unjoining cluster with a non-existent clustername
2022-06-16 15:03:08 +08:00
karmada-bot 5a4f449d3b
Merge pull request #2003 from Momeaking/dev-fix-etcd-dp
fix etcd-default-path
2022-06-16 10:12:08 +08:00
Momeaking e9144f4837 fix etcd-default-path
Signed-off-by: Momeaking <1026415175@qq.com>
2022-06-15 10:15:03 +08:00
bruce faf8558b02 add Error message when unjoining cluster with a non-existent clustername
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-06-15 10:09:53 +08:00
karmada-bot 3791cd5815
Merge pull request #1824 from wuyingjun-lucky/promote_bug
Fix promoting failed if a resource with other kind used same name has promoted before
2022-06-08 11:54:58 +08:00
wuyingjun 667e0ee9d5 fix promoting failed if a resource with other kind used same name has promoted before
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-04 21:10:55 +08:00
karmada-bot 08fe6a6df0
Merge pull request #1855 from hanweisen/karmadainit
when type wrong etcd-storage-mode throw error
2022-06-02 12:02:52 +08:00
AllenZMC 62b5181d33 Update default kube-apiserver from v1.21 to v1.22
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-01 15:57:32 +08:00
karmada-bot 60170ea4b5
Merge pull request #1916 from my-git9/etcd4
adjust etcd version
2022-06-01 14:00:51 +08:00
xin.li 99807e3f75 modify output for deinit
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-31 21:08:36 +08:00
xin.li 7a01a35204 adjust etcd version
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-30 21:57:27 +08:00
karmada-bot 22b368abb4
Merge pull request #1909 from hanweisen/cleanup
delete unused parameter
2022-05-30 09:28:48 +08:00