Skip to content
Permalink
Browse files
feat(dismiss): dont fail if no release found
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Jun 7, 2022
1 parent 5d2fa55 commit 6f79a186b747f8096611a2ad6440a35084f72699
Showing 1 changed file with 5 additions and 3 deletions.
@@ -230,10 +230,12 @@ func runDismiss(ctx context.Context) error {
return err
}

dontFailIfNoRelease := true
helmUninstallCmd := helm_v3.NewUninstallCmd(actionConfig, logboek.Context(ctx).OutStream(), helm_v3.UninstallCmdOptions{
StagesSplitter: helm.StagesSplitter{},
DeleteNamespace: &cmdData.WithNamespace,
DeleteHooks: &cmdData.WithHooks,
StagesSplitter: helm.StagesSplitter{},
DeleteNamespace: &cmdData.WithNamespace,
DeleteHooks: &cmdData.WithHooks,
DontFailIfNoRelease: &dontFailIfNoRelease,
})

if cmdData.WithNamespace {

0 comments on commit 6f79a18

Please sign in to comment.