
Since kubeconfig was moved to manifest we don't need to change it during use-context update. Change-Id: Ib6a0ff19eee89bc86a343e374d50938482e33941 Closes: #294
42 lines
898 B
Markdown
42 lines
898 B
Markdown
## airshipctl config use-context
|
|
|
|
Switch to a different context
|
|
|
|
### Synopsis
|
|
|
|
Switch to a different context defined in the airshipctl config file.
|
|
This command doesn't change a context for the kubeconfig file.
|
|
|
|
|
|
```
|
|
airshipctl config use-context NAME [flags]
|
|
```
|
|
|
|
### Examples
|
|
|
|
```
|
|
|
|
# Switch to a context named "exampleContext" in airshipctl config file
|
|
airshipctl config use-context exampleContext
|
|
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for use-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
|
|
|