Commit Graph

3447 Commits

Author SHA1 Message Date
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
karmada-bot bfd75b040c
Merge pull request #3056 from maoyangLiu/master
fix typo mistake
2023-01-16 20:01:08 +08:00
maoyangLiu da40d4f701 fix typo mistake
Signed-off-by: maoyangLiu <liumaoyang@inspur.com>
2023-01-16 18:32:40 +08:00
karmada-bot 66475089d9
Merge pull request #3048 from fengshunli/net
bump golang.org/x/net to fix CVE-2022-41717
2023-01-16 09:42:07 +08:00
fsl 7776f96841 bump golang.org/x/net to fix CVE-2022-41717
Signed-off-by: fsl <1171313930@qq.com>
2023-01-13 13:27:24 +08:00
karmada-bot aa5868a0ac
Merge pull request #3045 from fengshunli/alpine
upgrade the alpine base image
2023-01-13 11:56:05 +08:00
karmada-bot 051a0b35ee
Merge pull request #3041 from helen-frank/feature/UseUtilsEnvGetString
use k8s.io/utils/env GetString get env
2023-01-13 10:15:05 +08:00
karmada-bot db4de92607
Merge pull request #3037 from chaunceyjiang/composedlabels
fix: OverridePolicy of labels/annotations with composed-labels
2023-01-13 09:59:05 +08:00
karmada-bot d02a4eed11
Merge pull request #3040 from helen-frank/feature/UpdateOrCreateTokenAddErrProcessing
UpdateOrCreateToken get secrets err handling optimization
2023-01-13 09:40:05 +08:00
fsl 2f56fecbc5 upgrade the alpine base image
Signed-off-by: fsl <1171313930@qq.com>
2023-01-12 23:08:46 +08:00
chaunceyjiang 55f1a2bfcb fix: OverridePolicy of labels/annotations with composed-labels
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-01-12 21:13:56 +08:00
helen cc759c6706 when UpdateOrCreateToken get secrets, if the error is not a NotFound, the error is thrown in time.
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-01-12 20:58:49 +08:00
karmada-bot b28f6bfc5d
Merge pull request #3043 from wongearl/cleanup/add-unit-test
add UT for SetDefaultClusterResourceModels
2023-01-12 19:32:04 +08:00
karmada-bot b450a54fb6
Merge pull request #3042 from wongearl/cleanup/add-ut
add UT for ApplyOverridePolicies
2023-01-12 19:02:05 +08:00
wongearl 3c0bd41f80 add UT for ApplyOverridePolicies
Signed-off-by: wongearl <vamliang@163.com>
2023-01-12 17:32:19 +08:00
wongearl 9a46afc301 add UT for SetDefaultClusterResourceModels and MutateClusterTaints
Signed-off-by: wongearl <vamliang@163.com>
2023-01-12 16:16:58 +08:00
karmada-bot 28223cf39d
Merge pull request #3039 from Wang-Kai/master
modify description for flag usage
2023-01-11 11:28:03 +08:00
helen d9aca2f458 use k8s.io/utils/env GetString get env
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-01-11 01:14:25 +08:00
王凯 3b9b609072 modify description for flag usage #3038
Signed-off-by: 王凯 <wangkai05@bilibili.com>
2023-01-10 20:02:39 +08:00
karmada-bot 07bb65bfe7
Merge pull request #2831 from ikaven1024/interpret-ctl-edit
add edit mode for karmadactl interpreter command
2023-01-10 11:15:03 +08:00
karmada-bot 7c4d840885
Merge pull request #3027 from ikaven1024/fix-stop
stop proxy cache asynchronously
2023-01-10 09:32:01 +08:00
yingjinhui ce158ec243 stop proxy cache asynchronously
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2023-01-09 17:11:40 +08:00
karmada-bot 0330535ed8
Merge pull request #3014 from chaunceyjiang/ValidateReplicaScheduling
fix: Validate replicaSchedulingType and replicaDivisionPreference
2023-01-09 15:43:02 +08:00
chaunceyjiang 7a3207c8ee fix: set the default value of replicaSchedulengType
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-01-09 14:37:20 +08:00
karmada-bot fa3a983136
Merge pull request #3025 from RainbowMango/pr_update_protoc_token
Update protoc setup token
2023-01-09 14:16:01 +08:00
karmada-bot d4cee27a8c
Merge pull request #2997 from a7i/pdb-status
support PodDisruptionBudget resource in default interpreter
2023-01-09 12:05:02 +08:00
Amir Alavi 05a98cc978
default interpreter aggregate status: set sub-test name and parallelize
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2023-01-08 21:05:45 -05:00
RainbowMango d7cf5fc461 Update protoc setup token
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-06 16:23:48 +08:00
karmada-bot 7b4c541bb8
Merge pull request #3006 from Garrybest/pr_patch
avoid calling apiserver when scheduling result has no changes
2023-01-05 14:48:57 +08:00
karmada-bot 1c612f63b7
Merge pull request #3015 from Fish-pro/cleanup/errorsis
Check for err judgments by `==` and fix it
2023-01-04 17:43:55 +08:00
karmada-bot d34a33edd0
Merge pull request #3010 from yanfeng1992/fixbug-search-notReady-cluster
search filter out not ready cluster
2023-01-03 15:27:54 +08:00
karmada-bot 9118be926f
Merge pull request #3009 from chaunceyjiang/statefulset
built-in interpreter support statefulset
2023-01-03 14:55:55 +08:00
Fish-pro 92c0f9c962 Use errors.Is to check for a specific error
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-01-03 09:44:51 +08:00
karmada-bot 06fa41c401
Merge pull request #3012 from Garrybest/pr_ctx
cleanup pkg import in main function
2023-01-01 21:58:53 +08:00
yingjinhui f161a2ab5d add edit mode for interpret command
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-30 18:22:40 +08:00
karmada-bot 0bc72fa056
Merge pull request #3001 from calvin0327/build-operator-image
build karmada operator image
2022-12-30 17:10:52 +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
huangyanfeng 04d16b4b29 search filter out not ready cluster
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>

search filter out not ready cluster fix ut

Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>

search filter out not ready cluster fix lint

Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>

search filter out not ready cluster fix log and add comment

Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>

search filter out not ready cluster fix  comment

Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2022-12-30 13:57:37 +08:00
karmada-bot 4d9b23ff72
Merge pull request #3008 from Fish-pro/infoffmt
Remove unnecessary fmt.Sprintf for logging
2022-12-30 09:25:51 +08:00
chaunceyjiang 58408c717e built-in interpreter support statefulset
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-29 18:38:38 +08:00
karmada-bot 434b7b6578
Merge pull request #3003 from Fish-pro/fix/klogformat
Fix log output errors
2022-12-29 18:06:50 +08:00
chen zechun 4699343bcf Remove unnecessary fmt.Sprintf for logging
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-29 17:55:56 +08:00
Garrybest 6597fafd17 avoid calling apiserver when scheduling result has no changes
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-29 16:40:26 +08:00
karmada-bot a20dd6e630
Merge pull request #2935 from jwcesign/code-review-fix-v2
Delete the redundant logic in func GenerateExecutionSpaceName
2022-12-29 15:39:50 +08:00
chen zechun f3e0b45521 Modify log output errors
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-29 13:58:00 +08:00
karmada-bot 3d06bb84a3
Merge pull request #3000 from Fish-pro/fix/logupperstart
Uniform klog output starts with uppercase
2022-12-29 12:28:50 +08:00
karmada-bot c34c443d2c
Merge pull request #2996 from a7i/interpreter-parallel-tests
default interpreter sub-tests to run in parallel
2022-12-29 09:58:51 +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
karmada-bot eda7814ffc
Merge pull request #2988 from jwcesign/get-ns-first-before-create
Check if the resource exists before creating it
2022-12-28 17:03:50 +08:00
jwcesign 8acd1a4503 Delete the redundant logic in func GenerateExecutionSpaceName
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-28 15:59:24 +08:00