title: How to call one variable into another in value.yaml of helm chart
body: <p>How to call one variable to another in value.yaml of a chart?
  for example, this is the value.yaml</p>
  <pre><code>app: &quot;test&quot;
  count: 1
  frontend:
    image: &quot;mydockerhub/$app&quot;
    replicaCount: $count
  backend:
    image: &quot;mydockerhub/backend&quot;
    replicaCount: $count
  </code></pre>
  <p>Here one line 1 and 2. I am assigning values to <code>app</code> and <code>count</code>. Now I want to use this variable in defining frontend image and replicacount.</p>
  <p>I know I can directly update the variables in values.yaml but the original values.yaml is quite big and complicated.</p>
  <p>P.S I am trying to access a parameter's value into another in Value.yaml itself, not any configmap or any other file.</p>