Commit Graph

38 Commits

Author SHA1 Message Date
yike21 c138113f6f add an command example for examples/karmadactlinterpret/README.md
update the example resourceinterpretercustomization with kube lib for building dependencyInterpretation

Signed-off-by: yike21 <yike21@qq.com>
2023-04-17 13:12:13 +08:00
RainbowMango c0515acf81 Update Kubernetes dependencies to v1.26.1
Update controller-runtime to 0.14.2
Update cluster-api to latest commit

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
hejunhua f229d97be9 fix that the InterpretDependency operation is absent in the validating webhook
Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>

fix e2e problem

Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>

fix test case

Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>
2023-01-17 15:14:04 +08:00
Garrybest 8312a60759 cleanup pkg import in main function
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-30 15:40:26 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
yingjinhui 0f5e377d9f add kube lib for lua
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-08 22:14:04 +08:00
changzhen a4f4fcea36 add karmadactl interpret usage examples
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-30 14:20:38 +08:00
jwcesign 0f93375318 Add gofmt script
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-25 16:56:05 +08:00
RainbowMango 681b9464d2 Update Kubernetes dependencies to v1.25.4
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-22 16:45:35 +08:00
jwcesign 6fbcf8cf9d Change repo to dockerhub
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 11:30:02 +08:00
karmada-bot 05be79f76e
Merge pull request #2627 from MingZhang-YBPS/enhance-customresourceinterpreter-doc
enhance the doc to give more description about InterpretStatus、InterpretHealth、AggregateStatus
2022-10-15 17:33:11 +08:00
张铭 abd60aa647 enhance the doc to give more description about
InterpretStatus、InterpretHealth、AggregateStatus

Signed-off-by: 张铭 <zhang.ming@cestc.cn>
2022-10-14 09:13:15 +08:00
Albertin Loic 04352050ef
Take into account MetalLB in RI webhook example
Describe how to install and configure MetalLB for this example needs.

Automatically replace the webhook IP address in webhook configuration

Signed-off-by: Albertin Loic <loic.albertin@atos.net>
2022-10-13 12:06:03 +02:00
zhuwint 334a478b61 add e2e for InterpretStatus
Signed-off-by: zhuwint <zhuwentao15@huawei.com>
2022-08-24 09:09:29 +08:00
lonelyCZ 3e89d68a23 Standardize the generation and management of certificates
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-16 15:45:56 +08:00
zhuwint 90ddb6ae3c implement InterpretHealth for resource interpreter
Signed-off-by: zhuwint <zhuwentao15@huawei.com>
2022-08-11 09:19:50 +08:00
RainbowMango f432977bbd Update auto-generated files
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2022-06-25 14:44:02 +08:00
karmada-bot b0150fb030
Merge pull request #1989 from ikaven1024/pr-logs
dump controllerruntime's logs to klog
2022-06-23 16:24:15 +08:00
wuyingjun 13f6116104 Use k8s.io/component-base/cli to run cmd
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-23 10:14:36 +08:00
yingjinhui e30365cf45 dump controllerruntime's logs to klog
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-06-16 22:56:34 +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
RainbowMango 8bfb5783de Bump controller-tools to 0.8.0
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-05-07 23:32:03 +08:00
changzhen 176072a003 Creating Loadbalancer Type Service by Installing the Metallb
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-27 15:37:37 +08:00
lonelyCZ 83769d5a6e Implement flags grouping for customresourceinterpreter
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-04 15:01:10 +08:00
RainbowMango bff2eb9024 Adopt k/k API/interface changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-19 21:16:32 +08:00
RainbowMango e7b58f896e Update generated files
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2022-02-19 09:39:25 +08:00
RainbowMango d47fc79101 Bump Golang version from 1.16 to 1.17
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-17 17:58:56 +08:00
Xinzhao Xu 0d4fb81d9d Add workload sample files in custom resource interpreter example
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-02-11 11:11:10 +08:00
Xinzhao Xu 2f55e6c583 Implementing the AggregateStatus hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-18 20:35:26 +08:00
lonelyCZ a55709c79c Add Resource Interpreter Examples Document
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-01-07 13:42:17 +08:00
RainbowMango 537dd0a4ce Update generated files
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-12-28 16:27:29 +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
changzhen b49cc9ed0f add aggregated apiserver fabric
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-20 19:49:29 +08:00
guoyao 5062a97937 add validation for webhook example
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-22 16:23:21 +08:00
changzhen ca3f52015e add webhook demo for crdexplorer
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-20 19:46:35 +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
changzhen fe010eae28 add examples crd generate file
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-17 16:41:57 +08:00
RainbowMango db6941e68e Setup webhook example structure
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-11-17 10:48:43 +08:00