Skip to content

Commit

Permalink
Update helm_utils.go
Browse files Browse the repository at this point in the history
Signed-off-by: Ranjith M P <[email protected]>
  • Loading branch information
r1jt authored Oct 23, 2024
1 parent 234dd0c commit d474348
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions apps/helm_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,13 @@ func UmbrellaUpgrade(isPartialRebuildDisableNeeded bool) error {

// apps.UpgradeHelmChartfromValues(e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), values, TestLog, version)

GetHelmValues(e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), oldValues)

UpgradeHelmChartfromValues("mayastor/openebs",e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), values, oldValues, e2e_config.GetConfig().ImageTag)

err := GetHelmValues(e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), oldValues)
if err != nil {
return fmt.Errorf("failed to get helm values: %v\n", err)
}
err = UpgradeHelmChartfromValues("mayastor/openebs",e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), values, oldValues, e2e_config.GetConfig().ImageTag)
if err != nil {
return fmt.Errorf("failed to upgrade Helm Chart from Values: %v\n", err)
}
return nil
}

0 comments on commit d474348

Please sign in to comment.