Mohamed Awnallah
6af9994ca7
pkg/karmadactl: unit test promote
...
In this commit, we unti test promoting a namespace-scoped or
cluster-scoped resource in a legacy clsuter and validating the promote
options on karmadactl command.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-03 05:27:09 +02:00
wulemao
7f082af21a
guarantee the promotion can be rolled back safely
...
Signed-off-by: wulemao <1194736083@qq.com>
2024-09-26 10:24:19 +08:00
zhzhuang-zju
a684edd354
Implementing autocompletion for karmadactl
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-20 09:42:40 +08:00
zhzhuang-zju
4a2dc3d935
fix: command create cannot specify the namespace
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-10 10:23:09 +08:00
zhzhuang-zju
309c67701b
bump golangci to v1.58.0
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
whitewindmills
8328054439
Deprecate name/namespace labels of work
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-28 15:22:44 +08:00
Mohammed Affan
970435c3d1
Add linting for unused parameters
...
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-01-13 12:26:54 +05:30
Zhizhen He
25a62c6c57
fix typo
...
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-12-17 16:12:03 +08:00
karmada-bot
ec3599895c
Merge pull request #4135 from zhy76/promote
...
feat: support promote dependent resources automatically
2023-11-23 16:53:53 +08:00
zhy76
682adff651
feat: support promote dependent resources automatically
...
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-21 15:56:05 +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
RainbowMango
4ee4b22f05
Adopt Kubernetes breaking changes: PR 113542 which require singular names for core types
...
Adopt breaking change of contriller-runtime PR 2122
Adopt breaking change of contriller-runtime PR 2296
Adopt breaking change of controller-runtime PR 2139
Adopt breaking change of controller-runtime PR 2135
Adopt breaking change of Kubernetes PR 116218
Adopt breaking change of controller-runtime PR 2149
Adopt breaking change of controller-runtime PR 2150
Adopt breaking change of controller-runtime PR 2134
Adopt breaking change of controller-runtime PR 2293
Adopt breaking change of controller-runtime PR 2144
Adopt k8s feature: watch list. PR 115402
Adopt breaking change of Kubernetes PR 117102
Adopt Kubernetes change: disable staticcheck
Fix unit tests that failure due to fake-client behavior changes.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-29 16:47:38 +08:00
LronDC
f9b1071c3c
Add --auto-generate-propagation-policy and --propagation-policy-name options to promote command
...
Signed-off-by: LronDC <lun.su@daocloud.io>
2023-05-12 18:53:43 +08:00
chaunceyjiang
7e2097f1f3
Optimize code directory structure.
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-03-30 11:49:16 +08:00
lonelyCZ
02fd98a4c1
Improve karmadactl command description
...
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-18 10:00:32 +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