<p>I'd like to access cluster deployed Helm charts programmatically to make web interface which will allow manual chart manipulation.</p>

<p>I found <a href="https://pypi.org/project/pyhelm" rel="nofollow noreferrer">pyhelm</a> but it supports only Helm 2. I looked on npm, but nothing there. I wrote a bash script but if I try to use it's output I get just a string really so it's not really useful.</p>

<blockquote>
  <p>I'd like to access cluster deployed Helm charts programmatically to make web interface which will allow manual chart manipulation.</p>
</blockquote>

<p><a href="https://helm.sh/blog/helm-3-released/" rel="nofollow noreferrer">Helm 3 is different</a> than previous versions in that it is a <strong>client only</strong> tool, similar to e.g. <a href="https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/" rel="nofollow noreferrer">Kustomize</a>. This means that <em>helm charts</em> only exists on the client (and in chart repositories) but is then <em>transformed</em> to a <em>kubernetes manifest</em> during deployment. So only <em>Kubernetes objects</em> exists in the cluster.</p>

<p><a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#deployment-v1-apps" rel="nofollow noreferrer">Kubernetes API</a> is a REST API so you can access and get Kubernetes objects using a http client. Kubernetes object manifests is available in JSON and Yaml formats.</p>
