airshipctl/cmd/config/testdata/TestConfigImportGoldenOutput/config-import-with-help.golden
Rodolfo Pacheco 078f6b027a Implement airshipctl config import
Adds clusters, contexts and credentials from a kube config
file to the airship config.

In case of duplicate, the existing airship config values
will take precedence.

Closes: #153

Change-Id: Id09489f7546d8836be5b436071fec43fb99b997e
2020-05-05 11:11:36 -05:00

14 lines
273 B
Plaintext

Merge the clusters, contexts, and users from an existing kubeConfig file into the airshipctl config file.
Usage:
import <kubeConfig> [flags]
Examples:
# Import from a kubeConfig file"
airshipctl config import $HOME/.kube/config
Flags:
-h, --help help for import