Commit Graph

21 Commits

Author SHA1 Message Date
zhzhuang-zju 63590cbeee karmada-operator: add CRDs archive verification to enhance file system robustness
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-27 15:07:56 +08:00
Mohamed Awnallah be87fd5e71 pkg+test: unify usage of policyv1alpha1 operators
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-09 22:56:47 +03:00
Amir Alavi d9e174b014
work suspension: webhook validation
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-06 23:53:34 -04:00
Lan Liang ed0f26c328 cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.

See kubernetes/utils#283 for details.

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00: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
whitewindmills 268498a3e5 validate resourceSelectors if Preemption is enabled
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-24 17:09:28 +08:00
Poor12 5bdd837f35 revert some fields
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-09 16:38:48 +08:00
Poor12 2c9d900c28 add some fields for GracefulEvictionTask
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-24 14:59:27 +08:00
Poor12 74e030af81 add validation for failover
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-20 14:56:16 +08:00
whitewindmills 9a408ab3d9 fix that multiple same spread constraints are allowed
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-02 22:52:24 +08:00
whitewindmills ae325b8dd0 fix bug that spreadconstraints are not validated correctly
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-03-07 17:32:01 +08:00
chaunceyjiang 35f3e3f306 feat: validates the fieldSelector of overridepolicy
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-23 11:25:24 +08:00
changzhen 42c2e3c643 add validation for orderedClusterAffinities
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-18 15:45:44 +08:00
chaunceyjiang 55f1a2bfcb fix: OverridePolicy of labels/annotations with composed-labels
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-01-12 21:13:56 +08:00
carlory 1b33ef882b move validation funcs into util/validation
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-11-29 10:30:17 +08:00
AllenZMC 286026b3bf improve test coverage for validation
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-28 22:17:33 +08:00
AllenZMC 2d1bb23b9d improve test coverage for validation
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-19 10:44:30 +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
lonelyCZ b8d46597a9 Implementing karmada-webhook of validating OverridePolicy
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-18 12:42:22 +08:00
Hongcai Ren 5652fc54c6
enable cluster proxy that karmada control plane used to talk to clusters (#302)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-08 10:25:56 +08:00
RainbowMango 6c7eb64d1e validate cluster name by webhook.
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-01-25 17:26:25 +08:00