Commit Graph

5185 Commits

Author SHA1 Message Date
Michael Grosser a528975927
use single source for go version
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-04-09 18:37:47 -07:00
karmada-bot bc60437977
Merge pull request #4800 from yizhang-zen/yizhang/rename
Rename a function to match with updated behavior
2024-04-10 09:27:48 +08:00
yizhang-zen 04395e3579 Rename func to getClusterNameFromAnnotation to match with updated behavior
Signed-off-by: yizhang-zen <yizhang@zendesk.com>
2024-04-09 14:06:27 -07:00
Amir Alavi 3cd983db96
chore: refactor `prune.RemoveIrrelevantField` to allow for more kind pruners
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-04-09 15:19:14 -04:00
karmada-bot 02a6e5ef48
Merge pull request #4757 from karmada-io/dependabot/github_actions/softprops/action-gh-release-2
Bump softprops/action-gh-release from 1 to 2
2024-04-09 21:09:07 +08:00
karmada-bot 1466245c74
Merge pull request #4818 from whitewindmills/mcs_binding
Fix the bug of mcs binding losing resourcebinding.karmada.io/permanent-id label
2024-04-09 19:58:53 +08:00
karmada-bot 3aea48711c
Merge pull request #4753 from karmada-io/dependabot/github_actions/helm/kind-action-1.9.0
Bump helm/kind-action from 1.7.0 to 1.9.0
2024-04-09 19:47:58 +08:00
whitewindmills b0bbaa32e7 Fix the bug of mcs binding losing resourcebinding.karmada.io/permanent-id label
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-09 18:30:43 +08:00
karmada-bot 0d95525432
Merge pull request #4755 from karmada-io/dependabot/github_actions/actions/setup-python-5
Bump actions/setup-python from 4 to 5
2024-04-09 17:03:52 +08:00
dependabot[bot] be808d7567
Bump helm/kind-action from 1.7.0 to 1.9.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.7.0 to 1.9.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.7.0...v1.9.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 08:14:03 +00:00
karmada-bot 58a64e64b1
Merge pull request #4756 from karmada-io/dependabot/github_actions/actions/setup-go-5
Bump actions/setup-go from 3 to 5
2024-04-09 16:13:07 +08:00
karmada-bot 2e6920ce28
Merge pull request #4754 from karmada-io/dependabot/github_actions/docker/setup-qemu-action-3
Bump docker/setup-qemu-action from 2 to 3
2024-04-09 15:56:54 +08:00
dependabot[bot] 901cfe93cb
Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 06:14:58 +00:00
dependabot[bot] 36f09a83a4
Bump actions/setup-go from 3 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 06:14:16 +00:00
dependabot[bot] 99c2db449e
Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 06:14:10 +00:00
dependabot[bot] 6004c4d053
Bump docker/setup-qemu-action from 2 to 3
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 06:13:03 +00:00
karmada-bot feb2437e4d
Merge pull request #4762 from liangyuanpeng/fix_dependabot
ci:  fix dependabot can not access the secrets
2024-04-09 14:02:52 +08:00
Lan Liang b825b35479 chore: skip push event for branches of dependabot.
Co-authored-by: zhzhuang-zju <m17799853869@163.com>
Co-authored-by: RainbowMango <qdurenhongcai@gmail.com>
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-09 04:44:05 +00:00
karmada-bot 7a65ee8e11
Merge pull request #4814 from whitewindmills/retry-on-conflict-for-apply-cluster-policy
Use RetryOnConflict for applying CRB
2024-04-09 12:14:52 +08:00
whitewindmills 506c24f759 Use RetryOnConflict for applying CRB
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-09 10:51:58 +08:00
karmada-bot eadf919b6f
Merge pull request #4740 from chaosi-zju/lazy-e2e
add e2e test for lazy propagation policy
2024-04-08 20:38:53 +08:00
chaosi-zju f99c0f6df0 add e2e test for lazy propagation policy
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-08 19:49:04 +08:00
karmada-bot f369c55cf7
Merge pull request #4807 from whitewindmills/rename-use-kubectl-karmada
rename the use of kubectl-karmada
2024-04-07 20:29:52 +08:00
whitewindmills e54f9463d0 rename the use of kubectl-karmada
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-07 18:13:49 +08:00
chaosi-zju e2babc3d24 fix: avoid delete the key with empty value in object (lua table)
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-07 09:44:08 +08:00
karmada-bot b0da31afc1
Merge pull request #4796 from chaunceyjiang/pods
karmada-metrics-adapter: reduce memory usage
2024-04-03 18:27:43 +08:00
karmada-bot 4f99ebd447
Merge pull request #4793 from whitewindmills/fix-work-permanentID
Use merge strategy to avoid work.karmada.io/permanent-id changes
2024-04-03 18:22:44 +08:00
karmada-bot 456d099404
Merge pull request #4795 from yanfeng1992/remove-requeue-error
when controller return error is non-nil not need to set Result.Requeue
2024-04-03 16:27:43 +08:00
chaunceyjiang 1186588d1d karmada-metrics-adapter: reduce memory usage
When there is a large amount of pod usage in the member cluster, metrics-adapter will consume a lot of memory. The reason is that it caches all the information of all pods in the cluster. However, we don't need all this information, so we trim some of the information to reduce memory usage.

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-04-03 16:06:45 +08:00
huangyanfeng 7c2b3e19ee if an error is non-nil not need to set Result.Requeue true
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-04-03 14:08:22 +08:00
whitewindmills 9c08138f5b Use merge strategy to avoid work.karmada.io/permanent-id changes.
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-03 10:46:05 +08:00
karmada-bot a0c0a980e6
Merge pull request #4780 from RainbowMango/pr_update_controllergen
Update controller-gen to v0.13.0
2024-04-02 14:29:00 +08:00
karmada-bot 84e543320f
Merge pull request #4108 from liangyuanpeng/karmada_apiserver_upgrade
Update apiserver&controller-manager to v1.27 by default
2024-04-02 12:15:42 +08:00
karmada-bot 74d587cd66
Merge pull request #4786 from chaosi-zju/pprof
add pprof option to metrics-adapter
2024-04-02 10:39:42 +08:00
Lan Liang 017f0fc212 Update karmada-apiserve and kube-controller-manager to v1.27.11 by default.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-01 13:51:00 +00:00
karmada-bot ac07d33bfe
Merge pull request #4784 from whitewindmills/fix-managed-labels
labels cannot be deleted via Karmada propagation
2024-04-01 19:58:00 +08:00
chaosi-zju 2bfaccf018 add pprof option to metrics-adapter
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-01 15:46:40 +08:00
karmada-bot c81649a423
Merge pull request #4782 from my-git9/k8s-compatibility5
docs: fix too many karmada relases in Kubernetes compatibility list
2024-04-01 11:20:59 +08:00
karmada-bot d9377e76c8
Merge pull request #4783 from Jay179-sudo/test-demo
Corrected poll timeout example
2024-04-01 10:29:41 +08:00
xin.li d8e67b7360 docs: fix too many karmada relases in Kubernetes compatibility list
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-04-01 09:57:24 +08:00
whitewindmills ce84edfe12 labels cannot be deleted via Karmada propagation
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-03-30 21:31:47 +08:00
Jay179-sudo deaf341f81 Corrected poll timeout example
Signed-off-by: Jay179-sudo <jayprasad2002@gmail.com>
2024-03-30 17:51:14 +05:30
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
karmada-bot 6534ffbffe
Merge pull request #4778 from RainbowMango/pr_pin_crd_plural_name
Pin plural name for all APIs to avoid unexpected change
2024-03-30 15:06:39 +08:00
karmada-bot 09b69ddacb
Merge pull request #4777 from RainbowMango/pr_fix_operator_invalid_kubebuilder_marker
Fixe invalid kubebuilder marker, that makes pinned plural name does not work.
2024-03-30 14:33:39 +08:00
karmada-bot c8386129a8
Merge pull request #4776 from XiShanYongYe-Chang/rename-MergeLabel-func
remove old MergeAnnotation func and rename ReplaceAnnotation to MergeAnnotation
2024-03-30 11:54:40 +08:00
changzhen e511ad7bfc remove old MergeAnnotation func and rename ReplaceAnnotation func to MergeAnnotation
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-30 09:43:12 +08:00
RainbowMango 32a40764ea pin CRD plural name to avoid default plural name changes due to dependencies changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-03-29 18:06:44 +08:00
RainbowMango 8b9d86d4b3 Fixe invalid kubebuilder marker, that makes the marker does not work.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-03-29 12:06:09 +08:00
karmada-bot 4e2548250b
Merge pull request #4774 from XiShanYongYe-Chang/fix-wrong-delete-eps
fix bug of wrong delete endpointslice collect from member cluster
2024-03-28 21:50:38 +08:00