PushparajShetty
78c0b2c04e
Chore: update go and golangci version ( #6767 )
...
* update go and golangci version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update golangci version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update staticcheck version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update staticcheck version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update staticcheck version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update golangci_lint version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update golangci_lint version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml and formating in go files
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml and formating in go files
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated makefile step
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* fix formatting issue
Signed-off-by: Gowtham S <gowthams316@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update ginkgo tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* updated ginkgo tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* upgraded go/x/crypto to v0.37.0
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* go/kin-openapi version to v0.118.0 and go/x/net version upgraded to v0.39.0
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* upgrades go/x/oauth2 version to v0.29.0
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* update ginkgo test
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* upgrades alpine image version to 3.21
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* updates ginkgo tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
---------
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
Signed-off-by: Gowtham S <gowthams316@gmail.com >
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
2025-04-29 03:46:08 +08:00
alingse
1588736b4e
Fix: call errors.Wrap with a nil value error err ( #6739 )
...
Signed-off-by: alingse <alingse@foxmail.com >
2025-04-22 03:56:57 +05:30
Amit Singh
27965fb8aa
Chore: updates vuln dependencies versions ( #6757 )
...
* chore: updates vuln dependencies versions
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* fix check-diff tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* updated import for deprecated package
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
Co-authored-by: Gowtham <gowthams316@gmail.com >
Co-authored-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
Co-authored-by: PushparajShetty <116911361+PushparajShetty@users.noreply.github.com >
2025-04-18 10:22:27 +05:30
shivin
c5d9f69c9c
Fix: removing detached clusters from resource trackers ( #6728 )
...
* removing detached clusters from resource trackers
Signed-off-by: Pushparaj Shetty KS <kspushparajshetty@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* resolve merge conflicts
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* resolved code conflicts
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update TestGetAddonStatus test case
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Pushparaj Shetty KS <kspushparajshetty@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Shivin Gopalani <sgopalani@guidewire.com >
Co-authored-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
2025-03-19 07:35:06 +08:00
huochexizhan
cd0b0988f9
fix: fix incorrect nil return value ( #6705 )
...
Signed-off-by: huochexizhan <huochexizhan@outlook.com >
2025-03-02 09:23:56 -08:00
Ai Ranthem
a5606b7808
Chore: (deps): Update k8s to 1.29 ( #6654 )
...
CodeQL / Analyze (go) (push) Failing after 6m23s
Definition-Lint / definition-doc (push) Failing after 3m8s
E2E MultiCluster Test / detect-noop (push) Successful in 6s
E2E Test / detect-noop (push) Successful in 3s
Go / detect-noop (push) Successful in 2s
license / Check for unapproved licenses (push) Failing after 18s
Registry / publish-core-images (push) Failing after 1m4s
Unit-Test / detect-noop (push) Successful in 20s
Sync SDK / sync_sdk (push) Failing after 3m9s
Go / staticcheck (push) Successful in 6m17s
Go / check-diff (push) Failing after 19m4s
Go / check-core-image-build (push) Failing after 5m44s
Go / check-cli-image-build (push) Failing after 3m31s
Unit-Test / unit-tests (push) Failing after 13m54s
Go / lint (push) Failing after 1h53m27s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 1m27s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Has been cancelled
E2E Test / e2e-tests (v1.29) (push) Has been cancelled
Go / check-windows (push) Has been cancelled
* chore: update k8s to 1.29
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: unit test
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: lint
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: lint
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: e2e
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: lint and e2e test
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* test(e2e): increase timeout
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix e2e and scripts
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
* make reviewable
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
* rollback a unnecessary ut change
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
* update go.mod to import merged workflow
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
---------
Signed-off-by: phantomnat <w.nattadej@gmail.com >
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
Co-authored-by: phantomnat <w.nattadej@gmail.com >
2025-01-03 07:54:42 +08:00
Tianxin Dong
4f8bf44684
Refactor: use cuex engine ( #6575 )
...
* refactor: use cuex engine
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix static check and sdk tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix testdata
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix velaql unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix docgen parser
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix cuegen
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix velaql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: delete useless print
Signed-off-by: FogDong <fog@bentoml.com >
* fix: set client for ql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix mt tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: set kubeclient in generator
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use pass kube client
Signed-off-by: FogDong <fog@bentoml.com >
* fix: simplify ql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add wf debug back
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add loader
Signed-off-by: FogDong <fog@bentoml.com >
---------
Signed-off-by: FogDong <fog@bentoml.com >
2024-07-27 17:44:20 +08:00
Tianxin Dong
82dad1ebbb
Chore: update go version to 1.22 ( #6560 )
...
* chore: update go version to 1.22
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: update static check tool
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add debug
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use ghcr to fix dockerhub rate limit
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use ghcr for addons
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add more timeout for e2e multicluster test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use ghcr
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix e2e addon image
Signed-off-by: FogDong <fog@bentoml.com >
* fix: test addon terraform version
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix admission image
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix terraform version
Signed-off-by: FogDong <fog@bentoml.com >
---------
Signed-off-by: FogDong <fog@bentoml.com >
2024-07-03 16:10:56 +08:00
Daniel Higuero
1a001e5b29
Address GolangCI lint 1.55 errors ( #6453 )
...
Signed-off-by: Daniel Higuero <daniel@napptive.com >
2024-02-07 17:27:32 +08:00
qiaozp
6cbc12f9bb
Fix: addon dependency package retrieving is not compatible to v-prefixed version ( #6316 )
2023-09-02 21:00:41 +08:00
suwliang3
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
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
suwliang3
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
zhaohuiweixiao
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
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
zhaohuiweixiao
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
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
c255d21ad6
Chore: remove unnecessary go mod ( #6093 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-08 15:32:57 +08:00
merusso
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
Somefive
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
ef4bb07fb3
Chore: remove dm ( #6036 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 13:54:35 +08:00
zhaohuiweixiao
eaa7f5821e
Fix: list addon commond displays only the first 20 entries when addon registry is gitlab type ( #5999 )
...
* Fix: list addon commond displays only the first 20 entries when addon registry is gitlab type
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: add tips for registry addon command
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: modify the addon registry command tip
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-05-17 15:32:14 +08:00
yyzxw
1af82cd282
cleanup: remove unused code and fix typo ( #5986 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
Signed-off-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
Co-authored-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
2023-05-16 12:37:00 +08:00
Somefive
d59b116d06
Feat: upgrade ginkgo to v2 ( #5940 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-15 16:07:51 +08:00
Xinwei Xiong
68743841cd
Chore: Give the help information of Makefile to make it more clear ( #5638 )
...
* chore(Makefile): Give the help information of Makefile to make it more readable
Signed-off-by: Xinwei Xiong <3293172751nss@gmail.com >
fix: Fixed some spelling mistakes
Signed-off-by: Xinwei Xiong <3293172751nss@gmail.com >
fix: part of the makefile shows a problem
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com >
* fix: makefile targer image-cleanup
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com >
---------
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com >
2023-05-09 18:55:25 +08:00
suwliang3
c06c5dd9fd
Fix: The addon page displays the deleted addon ( #5924 )
...
Co-authored-by: qiaozp <47812250+chivalryq@users.noreply.github.com >
2023-05-08 14:10:12 +08:00
zhaohuiweixiao
91e31c1673
Fix: restrict the rules that automatically add topology strategy to addons to be valid only for the yaml type ( #5957 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-05-06 21:47:19 +12:00
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
wyike
2821682c60
fix bug if addon parameter is Empty ( #5856 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-04-14 17:45:09 +08:00
Jianbo Sun
863da991bc
Feat: add new fields for addon metadata ( #5845 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-04-14 17:16:38 +08:00
Somefive
792f33d471
Feat: migrate prism cluster ( #5836 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-12 20:25:24 +08:00
Somefive
d8af202242
Feat: upgrade k8s.io to 0.26 ( #5758 )
...
* Feat: upgrade k8s.io to 0.26
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: replace temp replace
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-10 11:19:05 +08:00
zhaohuiweixiao
76dc154e92
Refactor: the addon dependency installation logic is accurate to the cluster ( #5206 )
...
* Refactor: the addon dependency installation logic is accurate to the cluster
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: optimize the code based on the review
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Feat: add unit test for func checkDependencyNeedInstall
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-04-07 17:15:44 +08:00
barnettZQG
79f1d5cb03
Chore: optimize the package dependencies ( #5596 )
...
* Chore: optimize the package dependces
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: remove the repetitive context
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the context key
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: Optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
---------
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-03-07 16:19:37 +08:00
zhaohuiweixiao
6fa0d98547
Fix: render addon application checkDeployClusters invalid ( #5555 )
...
* Fix: render addon application checkDeployClusters invalid
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Feat: add getClusters test logic
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-03-06 19:36:59 +08:00
wyike
c4f3026065
small optimzie for addon ( #5316 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
name the compoennt
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-01-11 16:10:46 +08:00
barnettZQG
f7d34cbe8a
Feat: enhance the application synchronizer ( #5299 )
...
* Feat: enhance the application synchronizer
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-11 14:20:47 +08:00
wyike
ff802ad2c5
Fix: more explicit error when addon package hasn't a metadata.yaml ( #5298 )
...
* more explicit error when addon package hasn't a metadata.yaml
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix checkdiff
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix commets
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-01-11 11:45:41 +08:00
Charlie Chiang
3f5d558f22
Test: let addon helper tests use local helm server ( #5286 )
...
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2023-01-09 12:09:27 +08:00
barnettZQG
3a917cb6af
Fix: the addon management APIs support the user impersonation ( #5282 )
...
* Fix: the addon management APIs support the user impersonation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-06 15:11:56 +08:00
Jianbo Sun
78f5827fa6
Fix: move notes to the right to avoid package head to be invalid format ( #5280 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-01-06 10:29:34 +08:00
barnettZQG
ba0a726cfc
Fix: make the impersonation feature work ( #5261 )
...
* Fix: make the impersonation feature work
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: update the document of the chart
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-04 16:58:03 +08:00
barnettZQG
340059989b
Feat: enhance the workflow restful APIs ( #5252 )
...
* Feat: enhange the workflow restful APIs
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the workflow record status is empty
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add some logs
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: enhance the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-04 09:56:36 +08:00
my-git9
2fb0633354
cleanup ioutil for newer go version ( #5238 )
...
Signed-off-by: xin.li <xin.li@daocloud.io >
Signed-off-by: xin.li <xin.li@daocloud.io >
2022-12-29 19:34:45 +08:00
Jianbo Sun
dcb5378ff9
Feat: support NOTES.cue in addon for additional info printer ( #5195 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-16 18:07:27 +08:00
zhaohuiweixiao
66fbd104e9
Fix: The error of cannot fetch addon package breaks the loop to continue looking for addon package in the remaining registries ( #5187 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2022-12-14 13:35:12 +08:00
Jianbo Sun
b9e7c710d8
Feat: add options for addon parameter ( #5166 )
...
* Feat: add options for addon parameter
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: wrongly report disbaled when addon is not existed
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-07 17:22:38 +08:00
Jianbo Sun
ec07e641ee
Chore: refine logs and align using klog/v2 ( #5145 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-02 14:50:06 +08:00
wyike
191dbcc58d
Fix: bug of filter registry func will modify origin data ( #5118 )
...
* fix filter registry func flaky
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-11-24 15:05:38 +08:00
wyike
277d94f447
Fix: bug when addon dependent an addon in other registry ( #5083 )
...
* fix several bugs of addon
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix golint error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix error and add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments and fix apiserver test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix typo
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add parameter in apiserver and test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-11-24 09:42:28 +08:00