<p>I have deployed Gitlab from gitlab official helm chart. When I deployed it I didn't enable LDAP. Be informed that I didn't edit the values.yaml rather I used <code>helm update --install XXX</code> command to do it.</p>
<p>My question is how do I extract the helm values.yaml of my existing helm deployment (Name: <code>prime-gitlab</code>). I know how to use <code>helm value show</code> command to download the value.yaml from the gitlab / artifactoryhub but here I would like extract my existing value.yaml so I can edit the LDAP part in the values.yaml file.</p>
<pre class="lang-none prettyprint-override"><code>01:36 AM  ✔ root on my-k8s-man-01 Δ [~] Ω  helm ls -n prime-gitlab
NAME        NAMESPACE   REVISION    UPDATED                                 STATUS      CHART           APP VERSION
prime-gitlab    prime-gitlab    1           2022-02-12 01:02:15.901215658 -0800 PST deployed    gitlab-5.7.2    14.7.2
</code></pre>

mht.haque
<p>The answer here is very short. Exactly, like @DavidMaze mentioned in comments section you're looking for <a href="https://docs.helm.sh/docs/helm/helm_get_values/" rel="noreferrer"><code>helm get values</code></a>.</p>
<p>To this command one can use several options.</p>
<blockquote>
<p>This command downloads a values file for a given release.</p>
<pre><code>helm get values RELEASE_NAME [flags]
</code></pre>
</blockquote>
<p><em>Options:</em></p>
<pre><code>  -a, --all             dump all (computed) values
  -h, --help            help for values
  -o, --output format   prints the output in the specified format. Allowed values: table, json, yaml (default table)
      --revision int    get the named release with revision
</code></pre>
