Skip to content
Permalink
Browse files
fix(migrate2to3): new target namespace not respected in new Release
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed May 19, 2022
1 parent e69dbb9 commit 985e241384779fba176d08ff7401aa397f6813fb
Showing 1 changed file with 2 additions and 0 deletions.
@@ -174,6 +174,8 @@ func (helper *MaintenanceHelper) CreateHelm3ReleaseMetadataFromHelm2Release(ctx
return fmt.Errorf("cannot create helm 3 release %q metadata from helm 2 release %q metadata: %w", release, releaseData.Release.Name, err)
}

rls.Namespace = namespace

if err := helper.v3ActionConfig.Releases.Create(rls); err != nil {
return fmt.Errorf("error saving helm 3 release %q into storage: %w", release, err)
}

0 comments on commit 985e241

Please sign in to comment.