-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update args to support either helm 2 or 3 #882
Conversation
Passed all tests with both helm v2/v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- curl -LO https://storage.googleapis.com/kubernetes-helm/helm-v2.14.3-linux-amd64.tar.gz | ||
- tar -xvf helm-v2.14.3-linux-amd64.tar.gz | ||
- curl -LO https://get.helm.sh/helm-v3.0.0-linux-amd64.tar.gz | ||
- tar -xvf helm-v3.0.0-linux-amd64.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since there's still Helm 2 in the world, should we continue to test both side-by-side for a period of time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be safe to just test v3 for now. v2 support is winding down over the next year, so I wouldn't expect a lot of changes.
I think testing both is more overhead than it's worth for now, but we can reevaluate if we get bug reports later.
Proposed changes
The
--name
arg is no longer present in helm v3 forhelm template
, but--name-template
appears to accomplish the same thing in both versions. Updated thehelm fetch
command to use that parameter instead, which should work for both.Related issues (optional)
Fixes #797