Topics

Configuration files Handling


@Tejaswini_Vadlamudi
 

Hi,

We are using Helm in our staging systems. Have a question to you guys on helm install command.

Recently we started using Prometheus a CNCF product.

The Prometheus server need a Configuration file, this file is deployed as a ConfigMap. But the file content is stored in values.yaml

During our automation, if we want to change a value of a file it is really problematic to change at helm CLI. We should update the values.yaml file itself to a new one.

While we automate, it would be good if we can use something like:

helm install --name monitoring --set server.prometheus.yml.global.scrape_interval=1 prometheus

Here is the content of yaml file:

## Prometheus server ConfigMap entries

##

serverFiles:

  rules: ""

 

  prometheus.yml: |

    global:

      scrape_interval: 1m

Just curious if Helm has plan to handle these kind of things.

BR,
Teja