Use In Templates
Apps can be referred to in both space and virtual cluster templates. When an App is included in a template, that app will be deployed in the given resource upon creation. Creating templates that refer to Apps is a great way to create a repeatable environment for development, testing, or even production uses.
- Virtual Cluster Template
- Space Template
- Select the Templates field on the left menu bar.
- From the Templates sub-menu, select the Virtual Clusters option.
- Edit an existing template, or create a new virtual cluster template.
- Click the Apps configuration tab.
Note: the apps defined in this section of the template configuration are apps to be deployed *in* the virtual cluster! - From the drop down menu Add a new App ... select an App that you would like to be included as part of the template. You can select as many Apps as you would like here by simply selecting another App from the drop down menu. If you accidentally add one, or add one you do not want, click the trash icon next to the Apps name to remove it from the template.
- For each App you added to the template, you can configure the default namespace, and any App parameters supplied by the App. For helm Apps you can also configure the helm release-name.
- Click the Space configuration tab.
- Expand the Space Apps configuration section.
Note: the apps defined in this section of the template configuration are apps to be deployed in the *space* the virtual cluster will be deployed in (not inside the virtual cluster itself). - From the drop down menu Add a new App ... select an App that you would like to be included as part of the template. You can select as many Apps as you would like here by simply selecting another App from the drop down menu. If you accidentally add one, or add one you do not want, click the trash icon next to the Apps name to remove it from the template.
- For each App you added to the template, you can any App parameters supplied by the App. For helm Apps you can also configure the helm release-name.
- Finish configuring anything else you'd like on your template, then click the button.
- Select the Templates field on the left menu bar.
- From the Templates sub-menu, select the Spaces option.
- Edit an existing template, or create a new virtual cluster template.
- Click the Apps configuration tab.
- From the drop down menu Add a new App ... select an App that you would like to be included as part of the template. You can select as many Apps as you would like here by simply selecting another App from the drop down menu. If you accidentally add one, or add one you do not want, click the trash icon next to the Apps name to remove it from the template.
- For each App you added to the template, you can any App parameters supplied by the App. For helm Apps you can also configure the helm release-name.
- Finish configuring anything else you'd like on your project, then click the button.