
All of these entities are no longer required and should be deleted. Change-Id: Id4776efe668265df6961a38ce984b8ac37b27097 Signed-off-by: Ruslan Aliev <raliev@mirantis.com> Relates-To: #327
52 lines
1.3 KiB
Markdown
52 lines
1.3 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
|
|
--kubeconfig string Path to kubeconfig associated with airshipctl configuration. (default "$HOME/.airship/kubeconfig")
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [airshipctl config](airshipctl_config.md) - Manage the airshipctl config file
|
|
|