-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Addon] Fix #695 using vela existing addon packaging #714
base: master
Are you sure you want to change the base?
Conversation
Regarding the failed addon-e2e test.
The chart version seems unfortunately to be linked to the actual addon application tag in github (instead of using appVersion) so I am not sure my PR has to update the chart version, should it ? |
Thanks, please refer the failed CI info and fix them. |
15ccc82
to
d539e91
Compare
Signed-off-by: florent.madiot.e <[email protected]>
Signed-off-by: florent.madiot.e <[email protected]>
Signed-off-by: florent.madiot.e <[email protected]>
Signed-off-by: florent.madiot.e <[email protected]>
Signed-off-by: florent.madiot.e <[email protected]>
d539e91
to
c9335d6
Compare
…ue file Signed-off-by: florent.madiot.e <[email protected]>
…s labels not fully supporting semver Signed-off-by: florent.madiot.e <[email protected]>
Note that I could not use semver build metadata due to kubernetes/kubernetes#115055 issue |
Signed-off-by: florent.madiot.e <[email protected]>
Hi @wangyikewxgm , @wonderflow, @barnettZQG, @Somefive, done, waiting for your review |
ping @Somefive @barnettZQG , please help review, this feature can be useful. |
ping @Somefive @barnettZQG , @wangyikewxgm please help review |
Description of your changes
As mentionned in #695 the addon chart published by hack/addons/syn_addon_package.go does not generate a proper helm chart with a Chart.yaml in it.
This pull request makes use of the existing vela cli capability to publish addons and that properly covers the generation of the Chart.yaml file as shown in vela source code
github.com/oam-dev/kubevela/pkg/addon
package that is using the MakeChartCompatible routine. (See https://github.com/kubevela/kubevela/blob/e109d4e525dfc253e861c82901d3947688555d7c/pkg/addon/utils.go#L367)The PR also adds mandatory template.cue where missing and fix invalid (non semver) chart version on
spark-on-k8s-operator
experimental addonFixes #695
How has this code been tested?
The change has been tested following the github actions:
go mod tidy
cd addons && go run ../../hack/addons/syn_addon_package.go ./ https://kubevela.github.io/catalog/official
cd experimental/addons && go run ../../hack/addons/syn_addon_package.go ./ https://kubevela.github.io/catalog/experimental
Checklist
I have:
[Addon]
,[example]
or[Doc]
).version
inmetadata.yaml
to generate a new version.