Jon lib
Jon lib

Reputation: 139

Helm doesn't take values YAMLs

I’m working to install prometheus operator, I took the default helm chart and install it via the following command:

helm install po stable/prometheus-operator -n mon -f values.yaml

using this chart.

The installation was successful however it didn’t take the values from the values.yaml files, what am I doing wrong? e.g we don’t see two replicas of alert manger (minimal reproducible)

cat values.yaml

prometheus-operator:
  defaultRules:
  grafana:
    enabled: true
  alertmanager:
    alertmanagerSpec:
      replicas: 2

the values yaml is on the folder which I execute the command. I'm using Helm 3

Upvotes: 1

Views: 431

Answers (1)

4c74356b41
4c74356b41

Reputation: 72151

fairly certain it should look like this:

grafana:
  enabled: true
alertmanager:
  enabled: true
  alertmanagerSpec:
    replicas: 2

Upvotes: 3

Related Questions