<pre><code>values.yaml
aa:
  bb:
    cc:
      dd: "hi~!!"
</code></pre>

<p>In the values ​​file above, the value "cc" is a variable.
I'm want to get "hi~!!".</p>

<pre><code>myPod.yaml
apiVersion: v1
...
...
data:
  myData: {{ printf "%s\.dd" $variableKey | index .Values.aa.bb }}
</code></pre>

<p>Is this possible?</p>

김태우
<p>You need two separate args, <code>{{ index .Values.aa.bb $variableKey “dd” }}</code></p>
