<p>We are using the <a href="https://github.com/helm/charts/tree/master/stable/prometheus-operator" rel="nofollow noreferrer">prometheus operator chart</a></p>
<p>Currently, Im creating my own <code>values.yaml</code> that im overriding the default values from the chart like</p>
<p><code>helm install po -f values.yaml stable/prometheus-operator -n po</code></p>
<p>There is a Grafana properties which I need to modify as the opertor come with grafana properties</p>
<p><a href="https://github.com/helm/charts/blob/master/stable/prometheus-operator/values.yaml#L486" rel="nofollow noreferrer">https://github.com/helm/charts/blob/master/stable/prometheus-operator/values.yaml#L486</a></p>
<p>However, I want to modify properties that is not in the <code>values.yaml</code> of the prometheus chart and found here:
<a href="https://github.com/helm/charts/blob/master/stable/grafana/values.yaml#L422" rel="nofollow noreferrer">https://github.com/helm/charts/blob/master/stable/grafana/values.yaml#L422</a> (there is a reference on the chart)</p>
<p>My question is assume I want to modify the <code>client_id</code> , what is the <strong>recommended way</strong> to do it?
<a href="https://github.com/helm/charts/blob/master/stable/grafana/values.yaml#L431" rel="nofollow noreferrer">https://github.com/helm/charts/blob/master/stable/grafana/values.yaml#L431</a></p>

PJEM
<p>You can overwrite the values of dependent charts by using the name of the dependency (which for <code>grafana</code> in the <code>prometheus</code> chart can be found <a href="https://github.com/helm/charts/blob/master/stable/prometheus-operator/requirements.yaml" rel="nofollow noreferrer">here</a>) as another key within the <code>values.yml</code>.</p>
<p>In thise case, it is just <code>grafana</code> and so to overwrite it in your <code>values.yml</code>, do it like this:</p>
<pre><code># ... config of the original prometheus chart

# overwrite grafana's yaml by using the dependency name
grafana:
  grafana.ini:
    auth.github:
      client_id: 'what you need to put here'
</code></pre>
