Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
frankh opened this issue Jul 10, 2023 · 0 comments
Open

Comments

@frankh
Copy link

frankh commented Jul 10, 2023

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant