<p>How can I list, show all the charts installed by helm on a K8s? If I run helm in a newly installed Ubuntu I cannot see which repos were used before to install the charts.</p>
<p>Kind of</p>
<pre><code>helm show all *



</code></pre>
<p>Can I somehow export the helm's repository list and history from previously used server to the new ubuntu server? Where does helm keep the which repository installed etc?</p>
<p>Old ubuntu server</p>
<pre><code>Helm repo list
NAME            URL
gitlab          https://charts.gitlab.io/
harbor          https://helm.goharbor.io
bitnami         https://charts.bitnami.com/bitnami
</code></pre>
<p>The New ubuntu server</p>
<pre><code>Helm repo list
NAME            URL

</code></pre>
<p>Thanks in advance</p>

<blockquote>
<p>How can I list, show all the charts installed by helm on a K8s?</p>
</blockquote>
<p><a href="https://docs.helm.sh/docs/helm/helm_list/" rel="noreferrer"><code>helm list</code></a><code> --all-namespaces</code></p>
<blockquote>
<p>Where does helm keep the which repository installed etc?</p>
</blockquote>
<p><a href="https://docs.helm.sh/docs/topics/advanced/#storage-backends" rel="noreferrer">By default</a> in Secret objects in the same namespace as the release, but this can be changed.</p>
<blockquote>
<p>Can I somehow export the helm's repository list and history</p>
</blockquote>
<p>Not really.  You can use <a href="https://docs.helm.sh/docs/helm/helm_get_values/" rel="noreferrer"><code>helm get values</code></a> to get the set of values a particular release was installed with.  I don't believe there's an option to tell you where the chart originally came from.</p>
<p>Rather than trying to export this information from a cluster, a better approach is to make sure you have a copy of the information you need to recreate it in source control.  If the cluster state is small enough, you can try recreating it on a desktop-based Kubernetes installation (Docker Desktop, minikube, kind) for test purposes.  This could be a directory of shell scripts with install commands and matching value YAML files; there are also higher-level tools like <a href="https://github.com/Praqma/helmsman" rel="noreferrer">Helmsman</a> and <a href="https://github.com/roboll/helmfile" rel="noreferrer">Helmfile</a> that try to maintain an installation of several charts together.</p>
