Skip to main content

Flags

In order to accommodate various migration scenarios, where entities need to be smoothly transitioned, we offer a powerful solution through custom Flags. These Flags enable you to apply specific logic to your migration process.

To utilize these Flags, simply include them in your command with the --flags option, like: --flags HELM_INFRA_WITH_STAGE_VAR.

Available Flags

Here's a detailed breakdown of the available Flags and their descriptions:

Flag nameDefaultDescription
HELM_INFRA_WITH_STAGE_VARTrue (0.3.10)This helps with migrating Helm-based workflows. In the Next-Generation (NG) implementation, the release name has been relocated from the Helm step to the Infrastructure definition. To facilitate this, this flag introduces Stage variable autogenerated_release_name with value of FG Helm step's release name. This is referenced in Helm infrastructure definition with value <+stage.variables.autogenerated_release_name>.
SEQUENTIAL_CREATIONFalseIf the migrated pipelines have replaced static inputs with runtime inputs, this flag would help
LONG_RELEASE_NAMEFalseDefault release names for Kubernetes deployments are migrated with short generate release name <+INFRA_KEY_SHORT_ID>. If required, you can enable this flag to use long generated release names <+INFRA_KEY>
ENV_AT_DIFFERENT_LEVELFalseEnable this will allow environment creation at different level.(Default is at project level)
PREFER_SERVICE_VARIABLE_OVERRIDESFalseEnable this when <+serviceVariableOverrides.var> is prefered over <+serviceVariables.var>
SCRIPT_TO_FILE_STOREFalseWhen enabled, every script content is stored in the Harness file store instead of inline inside the step.