Commit Graph

123 Commits

Author SHA1 Message Date
lonelyCZ a52bfca0b8 Add logs function to karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-22 13:52:12 +08:00
hanweisen 9c8824642f fix pull mode example error
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-04-12 11:46:15 +08:00
lonelyCZ 32db15983b Fix karmadactl get -o yaml|json reporting null error
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-11 00:14:53 +08:00
lonelyCZ 93c3c04c35 Implement karmadactl get to support pull mode cluster
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-02 14:46:30 +08:00
karmada-bot 9cbe962748
Merge pull request #1550 from AllenZMC/karmadactl
karmadactl init: add cluster proxy rbac for admin when deploy Karmada  control plane
2022-03-31 19:41:02 +08:00
AllenZMC 92bd69a7e6 karmadactl init: add cluster proxy rbac for admin when deploy Karmada control plane
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-31 15:51:53 +08:00
lonelyCZ 144a77ced8 Add output information when no resource is found
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-29 20:53:36 +08:00
lonelyCZ 6a669fa962 refactor Obj to save more information about resources
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-29 19:48:22 +08:00
lonelyCZ 7a0eefb040 Enable karmadactl get command to leverage aggregated API
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-24 16:36:44 +08:00
karmada-bot df93b7d28c
Merge pull request #1456 from prodanlabs/karmadactl-init-fix
`karmadactl`: Fixed `init` commands can not select default release version issue.
2022-03-16 16:16:30 +08:00
karmada-bot aef51c0a48
Merge pull request #1460 from XiShanYongYe-Chang/tidy-up-lifted-file
Tidy up lifted file
2022-03-15 20:49:31 +08:00
RainbowMango 0f2219840f Rename karmada controller manager yaml file name
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-15 11:02:45 +08:00
changzhen d711b72f45 tidy up lifted file
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-15 10:42:32 +08:00
RainbowMango 9279870035 Add another idea about release version
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-14 15:15:35 +08:00
lonelyCZ d3ac601801 Fix bug: [karmadactl init] can not read KUBECONFIG environment variable
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-11 18:08:01 +08:00
karmada-bot 43748ff38e
Merge pull request #1455 from prodanlabs/karmadactl-feature
delete the karmada data directory before installing with init
2022-03-11 15:49:24 +08:00
prodan 66c5f2701a fix init image and crd default version
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-03-10 12:30:37 +08:00
prodan 38c2eb9040 delete the karmada data directory before installing with init
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-03-08 23:14:37 +08:00
sayaoailun a1bc670e3f replace hard coded namespace with custom namespace
Signed-off-by: sayaoailun <guojianwei007@126.com>
2022-03-08 14:10:39 +08:00
sayaoailun b5a0160541 bug fix: flag -n doesn't work as expected
Signed-off-by: sayaoailun <guojianwei007@126.com>
2022-03-08 08:58:58 +08:00
karmada-bot 0ef339011d
Merge pull request #1426 from zgfh/fix-kubectl-karmada-log
fix bug: fix can not use '-v 6' to set log level when run kubectl-karmada
2022-03-07 09:38:18 +08:00
Alan Zhu 38dd00d46c fix bug: fix can not use '-v 6' to set log level when run kubectl-karmada
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-03-04 14:13:16 +08:00
Alan Zhu 03baf1285e feature: Add check for cluster apiservice when install karmada with kubectl-karmada
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-03-04 13:40:15 +08:00
karmada-bot 2bd15c9909
Merge pull request #1381 from kerthcet/feature/remove-temp-files-in-tests
feat: remove temp files in tests
2022-02-22 09:49:04 +08:00
kerthcet defd566097 feat: remove temp files in tests
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-20 13:56:30 +08:00
RainbowMango bff2eb9024 Adopt k/k API/interface changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-19 21:16:32 +08:00
lonelyCZ f488d6be90 Fix karmadactl get -o yaml|json
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-02-09 16:28:10 +08:00
lonelyCZ 9b5c9b7ee8 Cleanup checking kubeconfig in karmadactl get
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-02-09 13:14:28 +08:00
karmada-bot 9800c3c672
Merge pull request #1270 from lonelyCZ/optimize-get
Optimize karmadactl get to output more information
2022-01-21 11:09:30 +08:00
lonelyCZ 684d6c9ab4 Optimize karmadactl get to output more information
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-01-20 20:11:19 +08:00
Alan Zhu eeb0f28244 karmada init: add more message for easy debug when nodePort exist
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-01-20 18:33:29 +08:00
Xinzhao Xu 501f68aea4 Clean up the code that converts Unstructured objects
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-19 10:28:30 +08:00
karmada-bot 1c0abe6ef2
Merge pull request #1257 from RainbowMango/pr_set_owners
Put prodanlabs to owner list
2022-01-15 10:19:34 +08:00
carlory f697c03c74 add validation for cluster api and remove cluster validating webhook
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-14 12:08:43 +08:00
RainbowMango 44bee6cb3a Put prodanlabs to owner list of init functionality
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-01-14 09:46:46 +08:00
karmada-bot 36176d6a85
Merge pull request #1198 from liangyongzhenya/fix_--cluster-namespace_misleading_description
fix --cluster-namespace misleading description
2022-01-10 09:47:51 +08:00
prodan 36b92cc412 organize `karmadactl init` code
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-01-05 19:04:26 +08:00
karmada-bot 808e487a2d
Merge pull request #1211 from Fish-pro/add-space
Comment should start with a whitespace
2022-01-05 14:46:45 +08:00
liangyongzhenya 88ba704db2 fix --cluster-namespace misleading description
Signed-off-by: liangyongzhenya <yongzhen.liang@daocloud.io>
2022-01-05 14:14:22 +08:00
chen zechun b2a11f00b0 add a space before the first letter
Signed-off-by: chen zechun <zechun.chen@daocloud.io>

Add spaces for all comments .go file in "pkg/karmadactl/cmdinit/utils/"

Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-01-05 11:43:09 +08:00
prodan d0665aaf82 Fix karmadactl init not found v1alpha1.cluster.karmada.io object
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-01-03 02:01:34 +08:00
lonelyCZ 8e298f9fa1 Add parentCommand to make init command compatible with karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-29 12:07:28 +08:00
changzhen 05722acfc0 add impersonatorSecretRef for cluster object
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-29 11:08:13 +08:00
karmada-bot 7c2be233b7
Merge pull request #1174 from prodanlabs/karmadactl-init
Log print karmada text logo
2021-12-28 18:00:37 +08:00
prodan 24dc3e5a29 Log print karmada text logo
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-28 15:46:05 +08:00
karmada-bot b06925128a
Merge pull request #1164 from XiShanYongYe-Chang/support-clusterproxy-for-pull
completes ClusterSpec and create impernator secret for pull mode cluster
2021-12-28 10:44:37 +08:00
karmada-bot f5c33bbfff
Merge pull request #1165 from RainbowMango/pr_owners
Put lonelyCZ on the owner list
2021-12-28 10:02:38 +08:00
changzhen 9833a814a4 create or update cluster and create impersonation secret for pull cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 21:07:00 +08:00
karmada-bot a46961fc7d
Merge pull request #1169 from prodanlabs/karmadactl-init
adjust the steps of karmadactl init, update examples
2021-12-27 19:49:37 +08:00
prodan e38e3cb2e0 adjust the steps of karmadactl init and update examples
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-27 17:40:17 +08:00