Commit Graph

13 Commits

Author SHA1 Message Date
RainbowMango e8164eeebd Adopt controller-runtime braking changes: generics support PR2783
Adopt controller-runtime breaking changes: make decoder as interface. PR2736

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-13 16:49:01 +08:00
whitewindmills 2450bd6041 Correct licenses format
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-04 10:35:16 +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
jwcesign e36a80c86c cleanup: enable revive(blank-imports rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-10 10:07:55 +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
Vacant2333 1df2420f70 [feat] namespace deletion protection
Signed-off-by: Vacant2333 <vacant2333@gmail.com>
2023-10-17 14:54:54 +08:00
karmada-bot 89880c8153
Merge pull request #3855 from whitewindmills/hpa-unit
ut: add cron-fhpa validation unit-test
2023-07-31 18:41:42 +08:00
karmada-bot 7381933798
Merge pull request #3730 from RainbowMango/pr_update_k8s_v127
Bump Kubernetes dependencies to v1.27.3
2023-07-31 12:29:43 +08:00
whitewindmills b23449245d add cron-fhpa validation unit-test
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-31 09:54:17 +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
jwcesign 4da22c3f28 fix: fix bugs about validation of targetMinReplicas<=targetMaxReplicas and CronFederatedHPA status
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-29 15:53:17 +08:00
jwcesign ee4b250067 feat: add more validation for CronFederatedHPA
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-24 20:33:26 +08:00
jwcesign 068022db24 feat: Support CronFederatedHPA to scale worloads/FederatedHPA at specific time
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-03 20:25:02 +08:00