Downloading a Helm chart version
Complete the following steps to download a Helm chart version.
-
Login to IBM Cloud using the CLI.
For detailed instructions about logging in using the IBM Cloud CLI, see ibmcloud login.
-
Check the Helm chart versions that are available. For more information, see Checking the available Helm chart versions.
-
Login to the Helm registry by running the helm registry login command:
helm registry login -u iambearer -p $(ibmcloud iam oauth-tokens --output json | jq -r .iam_token | cut -d " " -f2) icr.io
Windows Windows PowerShell users should use this command instead:
helm registry login -u iambearer -p ((ibmcloud iam oauth-tokens --output json | ConvertFrom-Json).iam_token -replace 'Bearer ', '') icr.io
-
Run the following command to download a Helm chart:
helm pull oci://icr.io/ibm-observe/logs-agent-helm --version CHART_VERSION
A file named
logs-agent-helm-{CHART_VERSION}.tgz
is downloaded.For example, when you run
helm pull oci://icr.io/ibm-observe/logs-agent-helm --version 1.6.0
, the file logs-agent-helm-1.6.0.tgz is downloaded. -
Run the following command to extract the chart files:
tar -xvf logs-agent-helm-{CHART_VERSION}.tgz