mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-17 06:46:47 +00:00
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.goThis will generate
charts/vela-core/templates/addons/example-addon.yaml(addon ConfigMap)charts/vela-core/templates/addons-default/example-addon.yaml(default enabled addon Initializer)vela-templates/addons/auto-gen/example-addon.yaml(addon Initializer)