airshipctl/docs/source/cli/airshipctl_config_set-context.md
Ruslan Aliev 0c870e5244 Remove clustertype-related functions
We don't use clustertype anymore, so all the related functions must
be deleted or adjusted as well as appropriate config fields.

Change-Id: I3931fdc71d4318e916f8bbc2d94e062c9df5f641
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #349
2020-10-16 11:31:58 -05:00

1.1 KiB

airshipctl config set-context

Manage contexts

Synopsis

Create or modify a context in the airshipctl config files.

airshipctl config set-context NAME [flags]

Examples


# Create a new context named "exampleContext"
airshipctl config set-context exampleContext \
  --manifest=exampleManifest \
  --encryption-config=exampleEncryptionConfig

# Update the manifest of the current-context
airshipctl config set-context \
  --current \
  --manifest=exampleManifest

Options

      --current                    update the current context
      --encryption-config string   set the encryption config for the specified context
  -h, --help                       help for set-context
      --manifest string            set the manifest for the specified context

Options inherited from parent commands

      --airshipconf string   Path to file for airshipctl configuration. (default "$HOME/.airship/config")
      --debug                enable verbose output

SEE ALSO