airshipctl/docs/source/cli/airshipctl_config_use-context.md
Vladislav Kuzmin d12c42d043 Exclude kubeconfig from use-context update
Since kubeconfig was moved to manifest we don't
need to change it during use-context update.

Change-Id: Ib6a0ff19eee89bc86a343e374d50938482e33941
Closes: #294
2020-07-16 18:58:31 +04:00

898 B

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