Files
airshipctl/docs/source/cli/airshipctl_config_set-context.md
Ruslan Aliev fc33287204 Remove kubeconfig from config struct
Change-Id: I5ab8722dd151d9e652e0b20e1d82988cd98505af
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2020-10-07 14:35:07 -05:00

51 lines
1.2 KiB
Markdown

## 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
```
--cluster-type string set the cluster-type for the specified context
--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
* [airshipctl config](airshipctl_config.md) - Manage the airshipctl config file