Commit Graph

46 Commits

Author SHA1 Message Date
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
whitewindmills 89295f9606 Fix inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +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
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
zhuwint 334a478b61 add e2e for InterpretStatus
Signed-off-by: zhuwint <zhuwentao15@huawei.com>
2022-08-24 09:09:29 +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
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