Check if a config variable is set (exists) for the K8s backend app. If a config var exists, it is set on the condition’s output.
- key: The config var key.
If a config var exists, its
value is set by the condition’s output.
It can be referenced by other blocks using
if: conditions: - conditionId: k8s_backend_config_var_defined name: new_relic_license_key_config params: key: NEW_RELIC_LICENSE_KEY then: ...
k8s_backend_config_var_defined condition is used to check that the user had set the
NEW_RELIC_LICENSE_KEY config var.