Skip to content

helm diff should not error with --reuse-values if release doesn't exist #481

Closed

Description

@frankh

helm diff version: 3.6.0

helm diff upgrade --allow-unreleased release charts/my-chart --namespace stuff --reuse-values
********************

	Release was not present in Helm.  Diff will show entire contents as new.

********************
Error: Failed to render chart: exit status 1
Error: plugin "diff" exited with error

running the equivalent helm upgrade command does not error:

helm upgrade release charts/my-chart --namespace stuff --install --reuse-values --dry-run

In fact when using HELM_DIFF_USE_UPGRADE_DRY_RUN the --reuse-values flag should do nothing except pass through the flag to helm upgrade

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