vcluster
vcluster copied to clipboard
[v0.29] add a fallback command for checking helm binary version (v4.x) (#3373)
Backport from main to v0.29
Original PR Nr.: #3373
Closes ENG-10467
Backported Commits:
- 12560008 add a fallback command for checking helm binary version (v4.x) (#3373)
-
add a fallback command for checking helm binary version (v4.x)
-
add debug log statement to highlight the command error and subsequent attempt for better clarity.
[!NOTE] Adds a retry for
helm versionwithout--clientand a debug log to support Helm v4.x.
- CLI (
pkg/cli/create_helm.go)
- Helm version detection: On failure of
helm version --client --template, retry withhelm version --templateto support Helm v4.x.- Add debug log detailing the initial error and fallback attempt.
Written by Cursor Bugbot for commit 5da89730c3848b569a36a95b61c3b06240289297. This will update automatically on new commits. Configure here.