grafana / helm-charts

Apache License 2.0
1.67k stars 2.28k forks source link

[Grafana] Unable to set the replicas to 0 #3337

Closed pathakhimanshucs closed 1 month ago

pathakhimanshucs commented 1 month ago

Hi, I noticed that when setting the number of replicas to 0 or "0" the variable gets interpret as a boolean and the template does not render the replicas field in the deployment yaml

ftrigari commented 1 month ago

Hi @pathakhimanshucs,

I set the replicas to "0," and everything works even without my PR.

In the PR, I removed the condition for how the replicas are populated.

jkroepke commented 1 month ago

Closed in #3343