Inputs
Inputs are defined in aninputs.toml file in the root of your app directory:
inputs.toml
sandbox.toml
Customer-Facing Inputs
By default, inputs are vendor-facing and set through the dashboard. To allow customers to set an input directly through the install stack (CloudFormation, Azure Resource Manager (Bicep), Terraform), mark it asuser_configurable:
inputs.toml
Input Groups
Inputs can be organized into groups to control how they are displayed in the dashboard during install creation:inputs.toml
Variables
Variables are managed through the CLI:{{ .nuon.app.variables.<variable-name> }}.
If you add or update a variable after an install has been created, the install’s state must be refreshed before the
new value is available. Running a deploy or sandbox provision triggers a state update.
Secrets
Secret metadata is defined in asecrets.toml file. The actual values are entered by the customer when deploying the
install stack:
secrets.toml
[[secret.kubernetes_sync_targets]] syncs the secret as a Kubernetes Secret object after sandbox provisioning, using
the details provided. This approach allows for easy definition of secrets in whatever shape is desired and enables
reflection of secrets across different namespaces. We support multiple [[secret.kubernetes_sync_targets]] entries.
We also support the following method which is less flexible:
secrets.toml
value key.
Using Secrets in Components
Secrets are referenced as outputs from the install stack:components/database.toml
deployment.yaml