Skip to content

Upgrade Helm to v4#1655

Merged
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:helm-upgrade
Mar 18, 2026
Merged

Upgrade Helm to v4#1655
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:helm-upgrade

Conversation

@gianlucam76
Copy link
Member

Import changes:

  • Removed "helm.sh/helm/v3/pkg/release" and "helm.sh/helm/v4/pkg/chart/v2/util"
  • Added chartbase "helm.sh/helm/v4/pkg/chart", "helm.sh/helm/v4/pkg/kube", releasecommon "helm.sh/helm/v4/pkg/release/common", releasev1 "helm.sh/helm/v4/pkg/release/v1"

API changes fixed:

  1. util.CoalesceValues — removed (unused placeholder)
  2. *release.Release → *releasev1.Release everywhere
  3. Releaser interface returns → added (*releasev1.Release) type assertions in installRelease, upgradeRelease, getCurrentRelease, recoverRelease, and two statusObject.Run() call sites
  4. action.CheckDependencies — converted []*chart.Dependency to []chartbase.Dependency slice at both call sites
  5. chart.File → common.File in upgradeCRDsInFile
  6. chart.CRD.Data → chart.CRD.File (with the file carrying the data)
  7. actionConfig.Init(...) — removed the 4th debugLog argument; removed the now-unused debugLog function
  8. release.Status* → releasecommon.Status*, release.Hook* → releasev1.Hook*
  9. lastDeployed.Time → lastDeployed (v4 Info.LastDeployed is already time.Time)
  10. installClient.Wait/Atomic/DryRun/ClientOnly/InsecureSkipTLSverify → WaitStrategy/RollbackOnFailure/DryRunStrategy/InsecureSkipTLSVerify
  11. upgradeClient.Wait/Atomic/Force/Recreate/InsecureSkipTLSverify → WaitStrategy/RollbackOnFailure/ForceReplace/[removed]/InsecureSkipTLSVerify
  12. uninstallClient.Wait → WaitStrategy
  13. repo.Entry.InsecureSkipTLSverify → InsecureSkipTLSVerify

@gianlucam76 gianlucam76 force-pushed the helm-upgrade branch 2 times, most recently from 8f146f2 to 6d2a9f7 Compare March 18, 2026 15:01
Import changes:
- Removed "helm.sh/helm/v3/pkg/release" and "helm.sh/helm/v4/pkg/chart/v2/util"
- Added chartbase "helm.sh/helm/v4/pkg/chart", "helm.sh/helm/v4/pkg/kube", releasecommon "helm.sh/helm/v4/pkg/release/common", releasev1 "helm.sh/helm/v4/pkg/release/v1"

API changes fixed:
1. util.CoalesceValues — removed (unused placeholder)
2. *release.Release → *releasev1.Release everywhere
3. Releaser interface returns → added (*releasev1.Release) type assertions in installRelease, upgradeRelease, getCurrentRelease, recoverRelease, and two statusObject.Run() call sites
4. action.CheckDependencies — converted []*chart.Dependency to []chartbase.Dependency slice at both call sites
5. chart.File → common.File in upgradeCRDsInFile
6. chart.CRD.Data → chart.CRD.File (with the file carrying the data)
7. actionConfig.Init(...) — removed the 4th debugLog argument; removed the now-unused debugLog function
8. release.Status* → releasecommon.Status*, release.Hook* → releasev1.Hook*
9. lastDeployed.Time → lastDeployed (v4 Info.LastDeployed is already time.Time)
10. installClient.Wait/Atomic/DryRun/ClientOnly/InsecureSkipTLSverify → WaitStrategy/RollbackOnFailure/DryRunStrategy/InsecureSkipTLSVerify
11. upgradeClient.Wait/Atomic/Force/Recreate/InsecureSkipTLSverify → WaitStrategy/RollbackOnFailure/ForceReplace/[removed]/InsecureSkipTLSVerify
12. uninstallClient.Wait → WaitStrategy
13. repo.Entry.InsecureSkipTLSverify → InsecureSkipTLSVerify
@gianlucam76 gianlucam76 merged commit 2573323 into projectsveltos:main Mar 18, 2026
8 checks passed
@gianlucam76 gianlucam76 deleted the helm-upgrade branch March 18, 2026 17:08
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

Successfully merging this pull request may close these issues.

1 participant