Commit 6030b97
committed
Upgrade Helm to v4
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 → InsecureSkipTLSVerify1 parent 29ce199 commit 6030b97
11 files changed
Lines changed: 456 additions & 370 deletions
File tree
- api/v1beta1
- config/crd/bases
- controllers
- manifest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
293 | 296 | | |
294 | 297 | | |
295 | 298 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
417 | 419 | | |
418 | 420 | | |
419 | 421 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | | - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
454 | 456 | | |
455 | 457 | | |
456 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
417 | 419 | | |
418 | 420 | | |
419 | 421 | | |
| |||
0 commit comments