Set Up Variables for an Application Release
Launch variables can be customized for a draft release. These variables will later be presented as configurable parameters during Application deployment (See the Step 2: Application Settings section of Deploy an Application to Edge Devices). These variables can also be used when setting up a Component (for Containers/Containers Advanced) or used within a compose configuration file (for Compose). See Set Up Docker Container Configurations for an Application Release for details.
The steps for setting up variables for an application release with one of Containers, Containers Advanced and Compose are identical.
[1] Show filter / Hide filter: Search by Name, Description, Default Value
[2] Add Variable: You can add multiple variables. You can't add variables for a submitted release.
[3] Edit this variable: You can't edit variables for a submitted application release.
[4] Delete this variable: You can't delete variables for a submitted application release.
- Name: Enter a name for a variable. The name will be used when referring to this variable in Set Up Docker Container Configurations for an Application Release.
- Label: Enter a label for the variable. The label will be used to title the variable during application deployment. (See Deploy an Application to Edge Devices and Deploy a Marketplace Application).
- Type: Select one of the following data types:
- string
- int
- enum
- Default Value: Enter a value for the variable. The entered value will be set as the variable's default value during application deployment.
- Description: Enter a description for the variable. The description will be used to explain the variable during application deployment.
- Required (Optional): Select the check box. This will force the variable to must have a value during application deployment.
- Private (Optional): Select the checkbox. This will hide the variable value with asterisks during Step 2: Application Settings of Deploy an Application to Edge Devices. This option is available for Litmus Edge Manager version 2.8.0 and later.
For the enum data type, in addition to a default value, you can enter a list of values to the right of Enum options. Then, during application launch (See Deploy a Marketplace Application), the list of entered values will be presented in a dropdown list, where one of the entered values must be selected. If no values are entered here, then the variable value during application launch can be entered as usual as compared to selecting from a dropdown list.