YAML based Addon Application
Application description files contain two parts: application template file and resource files (files under the folder).
The YAML typed application template file only accepts a KubeVela application that can contain components, policies or workflow. A simple example is as follows:
In case your template file is too large, you can split the entire content of the application into multiple files under the resources/
folder.
YAML file in folder must be Kubernetes objects, you can define many objects one by one in a file. These objects will be directly added to the application as a K8s-objects
typed component during rendering. An example as follows:
We just use namespace and serviceAccount resources as an example here, other resources of an operator can also be defined in KubeVela application in the same way.
An example is . All files included in this addon are all YAML coded.