
* Few more minor changes to increase test coverage Change-Id: Id34a33732d3201637027cb3eb512a245acbd77b5
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
Error: accepts 1 arg(s), received 0
|
|
Usage:
|
|
set-cluster NAME [flags]
|
|
|
|
Examples:
|
|
|
|
# Set the server field on the ephemeral exampleCluster
|
|
airshipctl config set-cluster exampleCluster \
|
|
--cluster-type=ephemeral \
|
|
--server=https://1.2.3.4
|
|
|
|
# Embed certificate authority data for the target exampleCluster
|
|
airshipctl config set-cluster exampleCluster \
|
|
--cluster-type=target \
|
|
--client-certificate-authority=$HOME/.airship/ca/kubernetes.ca.crt \
|
|
--embed-certs
|
|
|
|
# Disable certificate checking for the target exampleCluster
|
|
airshipctl config set-cluster exampleCluster
|
|
--cluster-type=target \
|
|
--insecure-skip-tls-verify
|
|
|
|
# Configure client certificate for the target exampleCluster
|
|
airshipctl config set-cluster exampleCluster \
|
|
--cluster-type=target \
|
|
--embed-certs \
|
|
--client-certificate=$HOME/.airship/cert_file
|
|
|
|
|
|
Flags:
|
|
--certificate-authority string path to a certificate authority
|
|
--cluster-type string the type of the cluster to add or modify
|
|
--embed-certs if set, embed the client certificate/key into the cluster
|
|
-h, --help help for set-cluster
|
|
--insecure-skip-tls-verify if set, disable certificate checking (default true)
|
|
--server string server to use for the cluster
|
|
|