29 lines
906 B
Plaintext
29 lines
906 B
Plaintext
Create or modify a context in the airshipctl config files.
|
|
|
|
Usage:
|
|
set-context NAME [flags]
|
|
|
|
Examples:
|
|
|
|
# Create a new context named "exampleContext"
|
|
airshipctl config set-context exampleContext \
|
|
--namespace=kube-system \
|
|
--manifest=exampleManifest \
|
|
--user=exampleUser
|
|
--cluster-type=target
|
|
|
|
# Update the manifest of the current-context
|
|
airshipctl config set-context \
|
|
--current \
|
|
--manifest=exampleManifest
|
|
|
|
|
|
Flags:
|
|
--cluster string set the cluster for the specified context
|
|
--cluster-type string set the cluster-type for the specified context
|
|
--current update the current context
|
|
-h, --help help for set-context
|
|
--manifest string set the manifest for the specified context
|
|
--namespace string set the namespace for the specified context
|
|
--user string set the user for the specified context
|