Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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
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
carlory ac1121365a remove dry-run from GlobalCommandOptions
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-06-19 00:06:39 +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
bruce 05012477f5 a bad log was found when doing promote
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-05-26 20:10:57 +08:00
wuyingjun 87073c3d78 discard unused param in cmd functions
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-20 11:25:29 +08:00
lonelyCZ aae6d087d0 Enable promote command to support AA
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-14 16:49:45 +08:00
duanmeng e7ba433f50 fixed a bug where not-namespaced resource could not be promoted
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-05-12 10:57:35 +08:00
wuyingjun 8f88eec583 modify variable format using hump
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-12 09:21:33 +08:00
karmada-bot da78076e26
Merge pull request #1759 from duanmengkk/master
fixed a panic which due to nil annotation during promote resources to Karmada
2022-05-11 16:50:31 +08:00
duanmeng 9ea26cc144 fix empty anannotation which result to null-pointer exception when add overwrite annotation
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-05-10 22:02:16 +08:00
lonelyCZ 4908b313b7 Unify usage example template of karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-10 12:08:11 +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 501bb52ebb implement karmadactl promote to promote workloads from legacy clusters
Co-authored-by: dddddai <dddwq@foxmail.com>
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-21 17:57:33 +08:00