sophie
6bf6f305b8
feat: add fieldoverrider
...
Signed-off-by: sophie <yl5357@columbia.edu>
2024-10-08 10:36:32 -04:00
changzhen
911cc44974
remove pp/cpp name length limit
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-16 10:34:15 +08: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
RainbowMango
c47e12a442
bump golangci-lint to v1.55.2
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-21 12:34:24 +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
whitewindmills
268498a3e5
validate resourceSelectors if Preemption is enabled
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-24 17:09:28 +08:00
chaunceyjiang
0b86e0de4f
fix: when application failover is enabled but propagateDeps is set to false, the failover has no effect.
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-29 19:38:15 +08:00
Poor12
5bdd837f35
revert some fields
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-09 16:38:48 +08:00
karmada-bot
27862f77f7
Merge pull request #3442 from chaunceyjiang/AffinityName
...
fix: affinityName can be set to an empty string
2023-04-25 10:31:10 +08:00
Poor12
2c9d900c28
add some fields for GracefulEvictionTask
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-24 14:59:27 +08:00
chaunceyjiang
6fb9329b29
fix: affinityName can be set to an empty string
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-24 12:55:46 +08:00
Poor12
74e030af81
add validation for failover
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-20 14:56:16 +08:00
chaunceyjiang
6f3afbdbf2
fix: validates predicate path
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-12 13:47:28 +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
chaunceyjiang
8fd5d6dc23
feat: validates the fieldSelector of overridepolicy
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-22 22:03:52 +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
chaunceyjiang
8bcfd7810b
introduce overriders for annotation and label
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-10 22:15:14 +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
990bf25072
mark override policy spec.targetCluster and spec.overriders deprecated
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-01-11 19:24:30 +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
guoyao
94227b33b4
add more validations for cluster name
...
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-15 15:08:16 +08:00
esto
a6165e47f9
update import-aliases
...
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +08:00
lihanbo
7e1e7b9726
add e2e test for scheduling base on cluster provider/region
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-25 09:11:57 +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
yangcheng-icbc
c77304df01
PropagationPolicy and ClusterPropagationPolicy name should be no more than 63 characters ( #249 )
...
Signed-off-by: icbc-yangcheng <shineus1996@gmail.com>
2021-04-01 14:55:07 +08:00
RainbowMango
6c7eb64d1e
validate cluster name by webhook.
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-01-25 17:26:25 +08:00