Commit Graph

62 Commits

Author SHA1 Message Date
RainbowMango c2de90bb5e Bump Kubernetes dependencies to v1.31.2
Bump controller-runtime to v0.19.1

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-12 17:52:36 +08:00
RainbowMango 325bab391b Bump controller-gen to v0.16.5
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-12 10:32:09 +08:00
chaosi-zju edb224d7d2 standardize the naming of karmada secrets in local up method
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-10-19 15:37:34 +08:00
chaosi-zju 1b79bbaf86 standardize the naming of karmada config in local up method
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-10-15 17:35:38 +08:00
Anuj Agrawal a049bf449a Added tests for examples/customresourceinterpreter/webhook
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-27 10:39:28 +05:30
RainbowMango 448b967421 Update crd gen
update swagger

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-13 16:48:51 +08:00
RainbowMango 7e7d8f6b9a adopt deepcopy-gen breaking changes
Adopt register-gen breaking changes
adopt conversion-gen breaking change
Adopt client-gen breaking changes
adopt list-gen breaking changes
Adopt informer-gen breaking changes
Adopt openapi-gen breaking changes
Adopt go-to-protobuff breaking changes

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-13 16:48:18 +08: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
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
RainbowMango e5d05149ae Bump Kubernetes dependencies to v1.29.4
Update custom-metrics-apiserver to latest

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
zhzhuang-zju 3989c4a82a silence the 'log.SetLogger(...) was never called; logs will not be displayed' error
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-04-29 20:12:24 +08:00
wei-chenglai ec3f9cfd8f Bump controller-gen version from v0.13.0 to v0.14.0
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-04-26 19:06:57 -04:00
RainbowMango f7324274ad Update controller-gen to v0.13.0 which is built with Kubernetes v1.28
v0.9.0 removed redundant .status of generated CRD
v0.12.0 removed redundant .metadata.creationTimestamp of generated CRD

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-03-30 15:26:10 +08:00
chengleqi b268b49686
fix: add Embedded metadata field for workload CRD
Signed-off-by: chengleqi <chengleqi5g@hotmail.com>
2024-01-03 20:00:44 +08:00
karmada-bot c218f93ce3
Merge pull request #4486 from RainbowMango/pr_bump_runtime163
Bump controller-runtime to v0.16.3
2024-01-02 10:10:28 +08:00
RainbowMango 5a3fa76b27 Adopt breaking change made by controller-runtime#2407, moving metrics
options.
Adopt breaking change made by controller-runtime#2421, cache filtering
Fix deprecation in customresourceinterpreter webhook example

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-29 12:39:24 +08:00
changzhen 249eabe0f8 add notes for karmada resourceinterpreter webhook example README
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-12-29 10:27:27 +08:00
RainbowMango 99d413052e update auto-generated files
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-25 10:45:22 +08:00
whitewindmills 2b05d1e94f add license for auto-generated files
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-12-05 14:20:26 +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 3f5c9073ab Update vendor
Update auto-generated files

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-29 16:47:38 +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
karmada-bot 8594406e5f
Merge pull request #3398 from whitewindmills/code-cleanup
Fix inspection errors
2023-05-19 20:28:53 +08:00
whitewindmills 89295f9606 Fix inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +08:00
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