Skip to content

feat: new deployments should start empty instead of pre-filled with chart defaults #23

Description

@rophy

Context

From PR #20 discussion (#20 (comment)):

Currently POST /folders/init copies the chart's full default values.yaml into new deployments — all 13 alert rules with namespace: default, empty owner, and default thresholds. A user who deploys without editing ships 13 alerts they may not want.

Desired behavior

New deployments should start empty. Since Helm falls back to subchart defaults when values.yaml is empty, the init logic needs to explicitly write each alert key as [] to override the subchart defaults.

Scope

  • Update POST /folders/init to write empty alert arrays instead of copying chart defaults
  • Update related test assertions

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