<p>I need to install a helm with a dynamic &quot;project_id&quot; flag on deploy time inside the <code>rawConfig</code> multi-line string</p>
<p>Example <code>values.yaml</code></p>
<pre><code>sinks:
  console:
    type: &quot;console&quot;
    inputs: [&quot;kafka&quot;]
    rawConfig: |
      target = &quot;stdout&quot;

      encoding.codec = &quot;json&quot;

  stackdriver:
    type: &quot;gcp_stackdriver_logs&quot;
    inputs: [&quot;kafka&quot;]
    rawConfig: |
      healthcheck = true
      log_id = &quot;mirth-channels-log&quot;
      project_id = &quot;my_project&quot;
      resource.type = &quot;k8s_cluster&quot;
</code></pre>
<p>How do I override this value of <code>project_id</code> in rawConfig? I'm trying to do this:</p>
<pre><code> helm install vector helm/vector --values helm/vector-agent/values.yaml -n my-namespace --set sinks.stackdriver.rawConfig='\nlog_id\ =\ &quot;mirth-channels-log&quot;\nproject_id\ =\ &quot;my_project_test&quot;\nresource.type\ =\ &quot;k8s_cluster&quot;\n'
</code></pre>
<p>But it does not work</p>

<p>Use second --values like following:</p>
<pre><code># values_patch.yaml
sinks:
  stackdriver:
    rawConfig: |
      healthcheck = true
      log_id = &quot;mirth-channels-log&quot;
      project_id = &quot;SOME_OTHER_PROJECT_ID&quot;
      resource.type = &quot;k8s_cluster&quot;
</code></pre>
<pre><code>$ helm install [...] --values values_patch.yaml
</code></pre>
