Configure the Tanzu Insight CLI plug-in

This topic explains how to configure the Tanzu Insight plug-in.

Note: All required setup must be completed in addition to configuring the CLI.

Set the target and certificate authority certificate

Set the target endpoint and CA certificate by running:

tanzu insight config set-target https://metadata-store-app.metadata-store.svc.cluster.local:PORT --ca-cert PATH

Where

  • PORT is the target endpoint port
  • PATH is the direct path to the CA certificate

For example:

$ tanzu insight config set-target https://metadata-store-app.metadata-store.svc.cluster.local:8443 --ca-cert /tmp/ca.crt

ℹ  Using config file: /Users/username/.config/tanzu/insight/config.yaml
ℹ  Setting trustedcacert in config
ℹ  Setting endpoint in config to: https://metadata-store-app.metadata-store.svc.cluster.local:8443
✔  Success: Set Metadata Store endpoint

Check the connection

Check that your configuration is correct and you are able to make a connection.

tanzu insight health

For example:

$ tanzu insight health
Success: Reached Metadata Store!
check-circle-line exclamation-circle-line close-line
Scroll to top icon