Skip to main content
Version: 3.4

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.

  1. Select the Templates field on the left menu bar.
  2. From the Templates sub-menu, select the Virtual Clusters option.
  3. Edit an existing template, or create a new virtual cluster template.
  4. 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!
  5. 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.
  6. 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.
  7. Click the Space configuration tab.
  8. 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).
  9. 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.
  10. 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.
  11. Finish configuring anything else you'd like on your template, then click the button.