qiaozp and GitHub
6cbc12f9bb
Fix: addon dependency package retrieving is not compatible to v-prefixed version ( #6316 )
2023-09-02 21:00:41 +08:00
JohnJan and GitHub
d787e95a08
Feat: apply-component supports namespace ( #6248 )
2023-08-31 14:08:48 +08:00
qiaozp and GitHub
94cbcad471
Chore: tidy appHandler ( #6300 )
2023-08-28 11:01:33 +08:00
Mcduller and GitHub
68a2223353
Fix: fix the error when create the same secret twice ( #6290 )
...
Signed-off-by: Mcduller <1596582524@qq.com >
2023-08-28 00:11:58 +08:00
suwliang3 and GitHub
bdf9bf16b8
feature: identity addon from helm chart structure ( #6288 )
...
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-08-24 10:29:19 +08:00
suwliang3 and GitHub
88a85eacb6
feature: add an annotation for the addon ( #6256 )
...
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-08-22 17:30:12 +08:00
qiaozp and GitHub
5a5721048c
Refactor: organize appHandler, remove unused flags ( #6254 )
2023-08-11 12:50:22 +08:00
qiaozp and GitHub
bab5bb2caf
Refactor: capabilities and workload in appfile parsing ( #6250 )
2023-08-10 14:41:20 +08:00
72bb0798ef
Fix: test timeout due to hardcoded goproxy ( #6246 )
...
Co-authored-by: JohnJan <wuzhongjian_yewu@cmss.chinamobile.com >
2023-08-08 09:43:41 +08:00
qiaozp and GitHub
307d1db36d
Chore: revert "Feat: apply-component supports namespace" ( #6247 )
2023-08-07 15:44:20 +08:00
qiaozp and GitHub
00ae0c9494
Feat: support offline dryrun with deploy step ( #6234 )
2023-07-26 18:09:01 +08:00
JohnJan and GitHub
f0357fdc8f
Feat: apply-component supports namespace ( #6228 )
...
* Feat: apply-component supports namespace
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: apply-component supports namespace
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
---------
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-07-25 10:31:18 +08:00
aaaf2bddac
bug: The log printing error for the addon module ( #6207 )
...
Signed-off-by: suwanliang <suwanliang@cmss.chinamobile.com >
Co-authored-by: suwanliang <suwanliang@cmss.chinamobile.com >
2023-07-24 17:22:53 +08:00
Jianbo Sun and GitHub
2117554d53
Fix: add deploy as built-in step to avoid parse in offline mode ( #6201 )
2023-07-11 17:23:32 +08:00
JohnJan and GitHub
f3e920ab60
Refactor: parse workloads ( #6185 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-07-05 09:49:34 +08:00
Jianbo Sun and GitHub
4637e3a918
Revert: "Feat: support applicator applying resources and update status ( #6030 )" ( #6182 )
2023-07-04 14:06:28 +08:00
StevenLeiZhang and GitHub
90246065d9
Fix: vela dry-run can not render Applicaiton, if x-definition(Compnent/Trait) is not installed to vela-system namespace ( #6135 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-06-27 23:08:23 +08:00
Somefive and GitHub
c4f14ad261
Fix: remove forbid redirect for http get ( #6147 )
2023-06-21 13:46:44 +08:00
Somefive and GitHub
da3618ad27
Chore: remove useless envbinding env ( #6122 )
...
* Chore: remove useless envbinding env
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix go proxy
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-15 14:50:20 +08:00
zhaohuiweixiao and GitHub
189555ba16
Refactor: addon dependency installation logic ( #6045 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-06-15 11:20:50 +08:00
zhaohuiweixiao and GitHub
49327b8910
Fix: addon args is not changed when reinstall it without args ( #6065 )
...
* Fix: addon args is not changed when reinstall it without args
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: addon args review modify
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-06-14 16:59:35 +08:00
Somefive and GitHub
a513029ec8
Fix: vela addon registry add allow redirect ( #6120 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-14 14:22:12 +08:00
b05ea09d5a
Chore: (deps): Bump github.com/getkin/kin-openapi from 0.94.0 to 0.118.0 ( #6106 )
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.94.0 to 0.118.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.94.0...v0.118.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 12:00:31 +08:00
zhaohuiweixiao and GitHub
ff52cf58ba
Fix: can not get the APISchema when registry is not version registry ( #6066 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-06-13 10:36:03 +08:00
zhaohuiweixiao and GitHub
95fa62164a
Fix: addon status list addon info error when there are mulitiple registries ( #6073 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-06-13 10:34:52 +08:00
Somefive and GitHub
f1bae16723
Chore: remove schematic kube and helm ( #6099 )
...
* Chore: remove unused code
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: remove schematic Kube & Helm
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-12 10:41:02 +08:00
suwliang3 and GitHub
c0cbe24dc4
Feat: optimize "application-resource-tree-view" ( #6096 )
...
* feature: Optimize "application-resource-tree-view"
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* fix: go fmt
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* fix: modif staticcheck
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
---------
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-06-09 09:44:36 +08:00
Somefive and GitHub
c255d21ad6
Chore: remove unnecessary go mod ( #6093 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-08 15:32:57 +08:00
merusso and GitHub
be3b990df0
Feat( #5861 ): Support addon dependencies version ranges ( #6002 )
...
* Feat(#5861 ): Support addon dependencies version ranges
This change enables addon maintainers to define version ranges for
dependencies in an addon's metadata.yaml file.
This behavior is similar to the version range allowed in the `system`
section of the metadata file. The version range expression for
`dependencies` follows the same format as for `system`.
Example:
```yaml
dependencies:
- name: addon1
version: ">= 2.3.3, < 3.0.0"
- name: addon2
version: ">= 0.1.0, < 1.0.0"
```
When installing an addon, the behavior varies depending on whether the
dependency is already installed.
If a dependency is already installed, the installed version will be
validated against the version range, and installation will fail with an
error if there's a mismatch.
If a dependency is not installed, the version range will be used to
select the addon version to be installed. If no addon version matching
the range exists, the installation will fail with an error.
Fixes #5861
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): remove unused ctx parameter
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): Add comment for IsLocalRegistry
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): unexport AddonInfoMap
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): unexport addonInfo
Signed-off-by: Michael Russo <merusso@gmail.com >
* chore: replace map[string]addonInfo with addonInfoMap for consistency
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix: add short circuit when dependency version is not specified
Signed-off-by: Michael Russo <merusso@gmail.com >
* feat: Add test for multiple validation errors
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix: Run go mod tidy
Signed-off-by: Michael Russo <merusso@gmail.com >
* feat: add tests for ToVersionedRegistry
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix: simplify listInstalledAddons loop
Signed-off-by: Michael Russo <merusso@gmail.com >
* feat: listAvailableAddons returns addons from multiple sources
Changes:
* implement ListAddonInfo in Registry
* add interface to aid testing of listAvailableAddons
* add tests for listAvailableAddons
Signed-off-by: Michael Russo <merusso@gmail.com >
* refactor: simplify validateAddonDependencies
move logic from validateAddonDependencies to
calculateDependencyVersionToInstall.
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): Implicit memory aliasing in for loop.
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): non-wrapping format verb for fmt.Errorf
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): indent-error-flow: (revive)
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): unexported-return
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): exported type comment format (revive)
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): refactor AddonInfo to ItemInfo, avoid "stutter" (revive)
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): add comment to exported method Registry.ListAddonInfo
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): fix stutter, rename AddonInfoLister to ItemInfoLister
Signed-off-by: Michael Russo <merusso@gmail.com >
* chore: Add suite tests for Registry.ListAddonInfo()
Signed-off-by: Michael Russo <merusso@gmail.com >
* Test: add test cases for addon.sortVersionsDescending
Signed-off-by: Michael Russo <merusso@gmail.com >
---------
Signed-off-by: Michael Russo <merusso@gmail.com >
2023-06-07 11:44:54 +08:00
Yang Gang and GitHub
30bc8c95f7
Chore: Cache the DiscoveryClient for cli command. ( #6091 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-06-07 09:58:46 +08:00
Somefive and GitHub
8e6bed2340
Fix: application gc not blocked by apprev gc ( #6074 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-05 11:04:23 +08:00
Somefive and GitHub
f15eba2c5f
Chore: remove legacy rollout and scope ( #6068 )
...
* Chore: remove legacy rollout & scope
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* remove outdated params
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-05 10:57:38 +08:00
Somefive and GitHub
1a6dafafde
Feat: support custom cascading gc policy ( #6059 )
2023-06-01 10:12:10 +08:00
Somefive and GitHub
dd899c2b39
Chore: remove outdated apis(v1alppha2 ApplicationConfiguration Component, and HealthScope, Rollout) ( #6041 )
...
* remove outdated api
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix rt test: no component rt
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* recover context.revision to component hash
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-01 09:32:49 +08:00
yyzxw and GitHub
d6788f12dd
feature: parallel init cluster info ( #6060 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-31 19:31:08 +08:00
Somefive and GitHub
04cd510ddc
Chore: use package function to replace parallel function ( #6052 )
2023-05-31 14:01:30 +08:00
Somefive and GitHub
ff881f930c
Fix: ignore kind not match err for vela def ( #6053 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-30 17:03:41 +08:00
Somefive and GitHub
268400e163
Feat: support applicator applying resources and update status ( #6030 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-29 17:57:34 +08:00
a1f57e4a90
Chore: (deps): Bump github.com/openkruise/rollouts ( #6047 )
...
Bumps [github.com/openkruise/rollouts](https://github.com/openkruise/rollouts ) from 0.1.1-0.20220622054609-149e5a48da5e to 0.3.0.
- [Release notes](https://github.com/openkruise/rollouts/releases )
- [Changelog](https://github.com/openkruise/rollouts/blob/master/CHANGELOG.md )
- [Commits](https://github.com/openkruise/rollouts/commits/v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/openkruise/rollouts
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 17:53:17 +08:00
yyzxw and GitHub
99ad780261
chore: add controller ut ( #6043 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-29 11:55:06 +08:00
Ahmed Qashlan and GitHub
a849435db2
Feat(velaql): read max depth for query iterator from env. ( #6039 )
...
* Feat(velaql): read max depth for query iterator from env
Signed-off-by: Ahmed Qashlan <ahmedelqashlan@gmail.com >
* Feat(velaql): read max depth for query iterator from env.
Ref #6014
Signed-off-by: Ahmed Qashlan <ahmedelqashlan@gmail.com >
---------
Signed-off-by: Ahmed Qashlan <ahmedelqashlan@gmail.com >
2023-05-29 10:49:46 +08:00
Somefive and GitHub
2298dd73dc
Feat: revert ci to kind ( #6035 )
...
* Feat: revert ci to kind
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* feat: use internal runner
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix test bug
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 17:49:44 +08:00
Somefive and GitHub
ef4bb07fb3
Chore: remove dm ( #6036 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 13:54:35 +08:00
Somefive and GitHub
4d81ba8909
Feat: support force resource location with dispatch ( #6033 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 10:18:50 +08:00
Somefive and GitHub
0df7803022
Feat: add validation for invalid definition attribute ( #6029 )
...
* Feat: add validation for invalid definition attribute
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix flaky test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-24 16:40:42 +08:00
Somefive and GitHub
e109d4e525
Chore: upgrade kubebuilder installation in unit-test ci ( #6018 )
...
* Chore: upgrade kubebuilder installation in unit-test ci
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* upgrade ingress in kuebuilder test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-23 14:46:22 +08:00
yyzxw and GitHub
3cb0f7b330
refactor: parse trait & scope ( #6017 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-22 19:21:01 +08:00
yyzxw and GitHub
dc52498b1d
refactor: enhanced code readability ( #6012 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-21 15:19:06 +08:00
Dhanu Saputra and GitHub
208a4aed2d
Feat: application_controller should be responsible for deleting application revision ( #5739 )
...
* [Feature] application_controller should be responsible for deleting application revision
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* test
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: fix reviews, add tests
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: rebase master
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: make func private
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision clean
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: fix staticcheck
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: fix review
Signed-off-by: dhanu <andreasdhanu@gmail.com >
---------
Signed-off-by: dhanu <andreasdhanu@gmail.com >
2023-05-17 17:41:01 +08:00
Somefive and GitHub
530d7c5bd6
Feat: support resource update policy ( #6003 )
2023-05-17 16:11:06 +08:00