Commit Graph

40 Commits

Author SHA1 Message Date
Xinzhao Xu 2f55e6c583 Implementing the AggregateStatus hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-18 20:35:26 +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
Xinzhao Xu a895c38005 Implementing the ReviseReplica hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-24 16:02:25 +08:00
lonelyCZ 14010e289f move prune to pkg/resourceinterpreter/defaultinterpreter
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-21 16:54:22 +08:00
lonelyCZ f99d1e8a0f Implementing karmada-webhook of validating ClusterOverridePolicy
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-20 13:32:52 +08:00
karmada-bot a916dda8d2
Merge pull request #1107 from Shike-Ada/pr-commit
update kube-apiserver and kube-controller-manager default version
2021-12-20 09:41:26 +08:00
karmada-bot c69e955bfb
Merge pull request #1124 from lonelyCZ/override-validating
Implementing karmada-webhook of validating OverridePolicy
2021-12-20 09:07:26 +08:00
changzhen 586cd9d407 update discoveryv1beta1 to discoveryv1 for endpointslice
Signed-off-by: changzhen <changzhen5@huawei.com>
Signed-off-by: Shike-Ada <1073457937@qq.com>
2021-12-18 17:19:21 +08:00
lonelyCZ aa97d84c52 Move RemoveIrrelevantField to pkg/resourceinterpreter
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-18 13:08:55 +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
changzhen 7224234a74 Update resourece interpreter pkg/file name and variable/parameter/comment naming
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-20 17:48:00 +08:00
Kevin Wang f8af0363f6 Update resource interpreter api (aka. explorewebhook)
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-11-20 14:59:52 +08:00
guoyao 69f990bf56 add unit test for webhook validation
Signed-off-by: guoyao <1015105054@qq.com>

Signed-off-by: guoyao <1015105054@qq.com>
2021-11-19 15:11:09 +08:00
changzhen fb39ed5aa0 adapt ObservedObject adding in resource explore webhook
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-18 12:25:03 +08:00
changzhen 0acd626d1b add hook handler interface
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-16 17:51:20 +08:00
RainbowMango dc142d22eb Define webhook rules by ourself
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-11-13 20:09:07 +08:00
changzhen c4a6c03c99 add the validation for ResourceExploringWebhookConfiguration creation
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-11 15:04:09 +08:00
changzhen ac42c00cc4 upgrade k8s version to v1.20.11
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-22 15:21:54 +08:00
jingxueli 63208e518a remove work ownerReferences field
Signed-off-by: jingxueli <jingxueli@trip.com>
2021-10-11 14:26:08 +08:00
learner0810 3ffa9dc95f fix/log-severity
Signed-off-by: learner0810 <zhongjun.li@daocloud.io>
2021-10-02 20:26:53 +08:00
Garrybest e9a7a2a022 clean up unstructured conversion
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-29 11:33:19 +08:00
esto a6165e47f9 update import-aliases
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +08:00
lfbear 27bda0c530 remove the automatic generation secrets in ServiceAccount
Signed-off-by: lfbear <lfbear@gmail.com>
2021-08-19 16:35:18 +08:00
lihanbo 8e90d2c93f fix bug of distributing job
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-08-11 19:47:03 +08:00
phantooom 1a242b9671 webhook: when clusterIP=None do not remove clusterIP
Signed-off-by: phantooom <xiaorui.zou@gmail.com>
2021-07-15 10:41:56 +08:00
changzhen 1e6c21cc28 mutate policy's ResourceSelectors in webhook
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-09 11:02:23 +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
lihanbo b565cc0caa support schedule based on cluster provider/region/zone
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-25 09:11:57 +08:00
RainbowMango 763c2a10e7 Adopt Reconcile() method signature change
Adopt MapOjbect removing change
Adopt event handling object changes
Adopt ToRequestsFunc to MapFunc change
Adopt EnqueueRequestsFromMapFunc change
Adopt runerable interface change
Adopt using admission review version v1

Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-08 19:12:35 +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 538462e74d Cleanup workload deletionTimestamp before write to work.
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-26 11:29:52 +08:00
Zhen Chang 1b0aa972a1
Add webhook for mutating workload object of work resource (#206)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-10 17:46:58 +08:00
Hanbo Li d48065f086
add webhook for clusterpropagationpolicy and propagationpolicy (#201)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-10 09:36:32 +08:00
Kevin Wang 2643cf0ec5
improve spreadByField consts naming (#167)
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-02-07 09:22:49 +08:00
RainbowMango 3305a54b11 restrict policy spread constraints
Signed-off-by: RainbowMango <renhongcai@huawei.com>
Co-authored-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-02-05 17:18:41 +08:00
Hongcai Ren 9624634662
enable propagation policy webhook (#152)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-01-30 15:17:51 +08:00
RainbowMango 6c7eb64d1e validate cluster name by webhook.
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-01-25 17:26:25 +08:00
Kevin Wang 4afcabe5f1 rename apigroup name, from propagationstrategy to policy
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-25 15:55:06 +08:00
Hongcai Ren 148af0e1d1
Add webhook framework (#133)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-01-21 19:26:29 +08:00