how to list full url about helm search url in v3.2.1

Viewed 1024

When I use this command to search hub's avaliable chart:

helm search hub kubernetes-dashboard

it only show part of the url like this:

[miaoyou@MeowK8SMaster1 ~]$ helm search hub kubernetes-dashboard
URL                                                 CHART VERSION   APP VERSION DESCRIPTION                                   
https://hub.helm.sh/charts/k8s-dashboard/kubern...  2.0.1           2.0.1       General-purpose web UI for Kubernetes clusters
https://hub.helm.sh/charts/banzaicloud-stable/k...  0.9.2           1.10.0      General-purpose web UI for Kubernetes clusters

how to show the full url about hub,I could not find name about the hub and did not know how to install it using helm install command? copy url from terminal only have part of url.

1 Answers

use this command to see full output:

[miaoyou@MeowK8SMaster1 ~]$ helm search hub -o json kubernetes-dashboard|jq '.'
[
  {
    "url": "https://hub.helm.sh/charts/k8s-dashboard/kubernetes-dashboard",
    "version": "2.0.1",
    "app_version": "2.0.1",
    "description": "General-purpose web UI for Kubernetes clusters"
  },
  {
    "url": "https://hub.helm.sh/charts/banzaicloud-stable/kubernetes-dashboard",
    "version": "0.9.2",
    "app_version": "1.10.0",
    "description": "General-purpose web UI for Kubernetes clusters"
  }
]

if you do not have jq, install it use this command:

sudo yum install jq -y
Related