Skip to content

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

Closed

Description

@pathakhimanshucs

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

Activity

  1. ftrigari commented on Oct 4, 2024

    @ftrigari
    Contributor

    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.

  2. added a commit that references this issue on Oct 14, 2024
  3. jkroepke commented on Oct 14, 2024

    @jkroepke
    Collaborator

    Closed in #3343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions