Skip to content
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

Merged
merged 3 commits into from
Nov 18, 2019
Merged

Conversation

lblackstone
Copy link
Member

@lblackstone lblackstone commented Nov 17, 2019

Proposed changes

The --name arg is no longer present in helm v3 for helm template, but --name-template appears to accomplish the same thing in both versions. Updated the helm fetch command to use that parameter instead, which should work for both.

Related issues (optional)

Fixes #797

@lblackstone
Copy link
Member Author

Passed all tests with both helm v2/v3

Copy link
Member

@lukehoban lukehoban left a 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
Copy link
Member

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?

Copy link
Member Author

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.

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.

Support Helm 3
3 participants