mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-26 19:24:49 +00:00
* add addon parameter template implementation * add test * fix test * fix helm version parameter
This is the stole place for
-
Hold built-in CUE templates for Vela Core and Registry.
definitions/registryanddefinitions/internalstore these templatesTo update definitions in charts and registry, run:
./vela-templates/gen_definitions.sh -
Hold built in addon templates.
addonsstores these templates. Each one directory ofaddonsrepresent an addon. For one addon, the directory like:example-addon ├── definitions # component defs can be use after this addon was enabled │ └── example-def.yaml ├── resource # resources to generate Initializer │ ├── some-resources-dir │ └── other-resources-dir └── template.yaml # fixed filenameTo generate addon, run
go run ./vela-templates/gen_addons.go --addons-path=./vela-templates/addons --store-path=./charts/vela-core/templates/addonsThis will generate
charts/vela-core/addons/example-addon.yaml(only Initializer)vela-templates/addons/demo/example-addon.yaml(Initializer and ComponentDefinition)