kubevela/pkg/addon
zhaohuiweixiao 98deab08f5
Fix: install dependency is invalid for runtime addon when it's cluster arg is nil (#5865)
* Fix: install dependency is invalid for runtime addon when it's clusters arg is nil

Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>

* Fix: add unit test for getDependencyArgs and checkDependencyNeedInstall

Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>

* Fix: Simplified the checkDependencyNeedInstall func logic

Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>

* Fix: add comments for checkDependencyNeedInstall

Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>

---------

Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
2023-04-28 10:16:33 +08:00
..
testdata Feat: support NOTES.cue in addon for additional info printer (#5195) 2022-12-16 18:07:27 +08:00
addon.go Fix: install dependency is invalid for runtime addon when it's cluster arg is nil (#5865) 2023-04-28 10:16:33 +08:00
addon_suite_test.go Fix: install dependency is invalid for runtime addon when it's cluster arg is nil (#5865) 2023-04-28 10:16:33 +08:00
addon_test.go Fix: render addon application checkDeployClusters invalid (#5555) 2023-03-06 19:36:59 +08:00
cache.go Fix: the addon management APIs support the user impersonation (#5282) 2023-01-06 15:11:56 +08:00
cache_test.go Feat: support addon helm repo skip tls verify (#4122) (#4146) 2022-07-19 18:00:28 +08:00
error.go Fix: The error of cannot fetch addon package breaks the loop to continue looking for addon package in the remaining registries (#5187) 2022-12-14 13:35:12 +08:00
error_test.go Feat: search useful addon version automatically (#4232) 2022-06-29 17:46:56 +08:00
helper.go Fix: more explicit error when addon package hasn't a metadata.yaml (#5298) 2023-01-11 11:45:41 +08:00
helper_test.go Test: let addon helper tests use local helm server (#5286) 2023-01-09 12:09:27 +08:00
init.go small optimzie for addon (#5316) 2023-01-11 16:10:46 +08:00
init_test.go Feat: enhance addon init (#4370) 2022-07-18 10:40:42 +08:00
memory_reader_test.go Feat: helm repo as addon registry to support addon's multi-version (#3523) 2022-03-28 21:25:38 +08:00
push.go Feat: upgrade go1.19 (#4790) 2022-09-28 10:19:28 +08:00
push_test.go cleanup ioutil for newer go version (#5238) 2022-12-29 19:34:45 +08:00
reader_gitee.go Feat: support gitee repository in addon registry (#3393) 2022-03-10 10:11:45 +08:00
reader_gitee_test.go Feat: helm repo as addon registry to support addon's multi-version (#3523) 2022-03-28 21:25:38 +08:00
reader_github.go Feat: support gitee repository in addon registry (#3393) 2022-03-10 10:11:45 +08:00
reader_github_test.go Feat: helm repo as addon registry to support addon's multi-version (#3523) 2022-03-28 21:25:38 +08:00
reader_gitlab.go Feat(lang): add addons gitlab support (#3543) 2022-04-07 11:05:14 +08:00
reader_gitlab_test.go Feat(lang): add addons gitlab support (#3543) 2022-04-07 11:05:14 +08:00
reader_local.go Feat: upgrade go1.19 (#4790) 2022-09-28 10:19:28 +08:00
reader_local_test.go Feat: addon enable support local dir for install offline (#3066) 2022-01-11 11:29:10 +08:00
reader_memory.go Feat: helm repo as addon registry to support addon's multi-version (#3523) 2022-03-28 21:25:38 +08:00
reader_oss.go Refactor: addon cache mechanism and code architecture (#2956) 2021-12-21 09:31:37 +08:00
registry.go Feat(lang): add addons gitlab support (#3543) 2022-04-07 11:05:14 +08:00
render.go Feat: support NOTES.cue in addon for additional info printer (#5195) 2022-12-16 18:07:27 +08:00
render_test.go fix bugs and add tests (#4831) 2022-10-08 17:12:05 +08:00
source.go Feat: Addon support app template written by cuelang. (#4401) 2022-07-22 17:58:19 +08:00
source_test.go Fix: sensitive field of addon registry is exposed (#3837) 2022-05-10 10:08:28 +08:00
suite_test.go Feat: upgrade k8s.io to 0.26 (#5758) 2023-04-10 11:19:05 +08:00
type.go Feat: add new fields for addon metadata (#5845) 2023-04-14 17:16:38 +08:00
utils.go Fix: more explicit error when addon package hasn't a metadata.yaml (#5298) 2023-01-11 11:45:41 +08:00
utils_test.go Fix: more explicit error when addon package hasn't a metadata.yaml (#5298) 2023-01-11 11:45:41 +08:00
versioned_registry.go Fix: make the impersonation feature work (#5261) 2023-01-04 16:58:03 +08:00
versioned_registry_suite_test.go Feat: support addon helm repo skip tls verify (#4122) (#4146) 2022-07-19 18:00:28 +08:00
versioned_registry_test.go cleanup ioutil for newer go version (#5238) 2022-12-29 19:34:45 +08:00