
This also increases unit test coverage Change-Id: I324954a1216f2204ff3977c05eb9bd087cd87795
23 lines
980 B
Plaintext
23 lines
980 B
Plaintext
|
|
Sets a context entry in arshipctl config.
|
|
Specifying a name that already exists will merge new fields on top of existing values for those fields.
|
|
|
|
Usage:
|
|
set-context NAME [flags]
|
|
|
|
Examples:
|
|
|
|
# Create a completely new e2e context entry
|
|
airshipctl config set-context e2e --namespace=kube-system --manifest=manifest --user=auth-info --cluster-type=target
|
|
|
|
# Update the current-context to e2e
|
|
airshipctl config set-context e2e
|
|
|
|
Flags:
|
|
--cluster string sets the cluster for the specified context in the airshipctl config
|
|
--cluster-type string sets the cluster-type for the specified context in the airshipctl config
|
|
-h, --help help for set-context
|
|
--manifest string sets the manifest for the specified context in the airshipctl config
|
|
--namespace string sets the namespace for the specified context in the airshipctl config
|
|
--user string sets the user for the specified context in the airshipctl config
|