Skip to content

Commit

Permalink
Merge pull request #495 from MUzairS15/MUzairS15/helm/dry-run/fix
Browse files Browse the repository at this point in the history
[Helm] use chart name instead of explicitly specifying release name
  • Loading branch information
Mohd Uzair authored May 1, 2024
2 parents 498f7dd + 8ef4fd0 commit 2a1ef52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/helm/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import (
func DryRunHelmChart(chart *chart.Chart) ([]byte, error) {
actconfig := new(action.Configuration)
act := action.NewInstall(actconfig)
act.ReleaseName = "dry-run-release"
act.CreateNamespace = true
act.ReleaseName = chart.Metadata.Name
act.Namespace = "default"
act.DryRun = true
act.IncludeCRDs = true
Expand Down

0 comments on commit 2a1ef52

Please sign in to comment.