-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Support Helm v3 #2383
Comments
Hi @StianOvrevage, ArgoCD uses |
Ok. Thanks for the quick reply. I guess that means I cannot use |
Well. Of course, you could do that if you install But the ArgoCD way would be to use I think with the much improved Helm support coming with v1.3, it would be a piece of cake to update a deployed Helm chart from vX to vY with just updating a property of the ArgoCD application resource. |
Apart from the |
Changes:
See #2737. |
Just tried to create an application using a Helm repository with v3 chart. I received this error:
Looks like that the Chart API version bump would need to be addressed. |
That's most likely because the Chart version changed between Helm v2 and v3:
|
It seems to work fine if char version is left at v1, but the tiller stuff that argo creates is unnecessary as it uses only helm template. Would hope we could have proper support for Helm 3 though. |
I met below error when create an HelmV3 application. Is there an ETA for supporting Helm 3?
|
There are some corner cases where it might make sense for Argo to support v3 ( requirements.txt moved to Chart.yml, v2 instead of v1, hooks, more here: https://helm.sh/docs/topics/v2_v3_migration/ ) but it doesn't need to as it uses helm mostly for template compilation, no tiller no anything. No need to rush. Most public charts are still Helm2, they won't be migrated soon. Just make sure you use helm2 cli locally when developing your own charts. If someone uses helm cli to install charts but at the same time using ArgoCD, that's a total other issue. For you, might be as easy as doing what @mmaask did. |
I'd argue that v3 support makes sense - most orgs would welcome getting rid of tiller with open arms & developing charts using helm v2 is just backwards, considering v2 will be EOL.
|
I'd argue that this needs to be prioritized higher, I already have development teams that I support shifting wholesale from Helm 2 to Helm 3, and I cannot deploy their charts with Argo because it doesn't recognize the new Helm v2 API. |
Yeah, the trouble is the community will start building charts for v3 leaving argo unable to render all community charts unfortunately. I've been working on a |
(previously commented as @rcasper, my old account). Would it make more sense to either rename this ticket or create a new ticket specifically for adding v2 Helm API support to Argo CD, since that seems to be the main issue at play here? |
Looks like Helm 3 is on the roadmap for v1.5 (est Feb 28 2020), hopefully that pans out as advertised. |
If anyone really needs v3 now I created a very crude wrapper script available here: The idea is to download the script and replace EDIT: made a small change that tries to detect v3 charts ( |
This is a huge con for me atm, I can't upgrade to Helm3 because ArgoCD don't support it (yet)... |
@julienMichaud ArgoCD support helm3 apiversion:v1...but dont support v2 |
so by default helm3 generate v2..please check this out! |
As a workaround, one of my colleague @jjaniec added the following values for the Helm Chart.
We use the workaround created by @travisghansen for that. |
Starting work on this now and will be part of Argo CD v1.5. Although Helm v3 is supposed to be backwards compatible to Helm v2, I found at least one issue which doesn't work in v3 that used to work in v2: I suspect there might be potentially more backwards compatibility issues. Thus, we'll initially take an approach where Argo CD bundles in both helm v2 and v3 binaries, and will switch on If desired (or if it turns out there are more discrepancies between v2 vs. v3), we could possibly provide a tuning environment variable to force which helm binary to use. |
Helm3 can still install a v1 chart. Could it be controlled in some other manner? |
@jessesuen I'm happy to hear that you are started working on Helm 3 support, I'm doing the same in the private space. It would be nice if you could share some insights, estimations or maybe alpha/beta code. I'd like to help lemme know if you guys cappable to receive some help on this.
If you want to know our (enterprise/corporate) opinion on |
Even though helm v3 is supported, this part is left out. Pls vote and join the latest discussion for the missing feature here. |
There's discussion happening here as well: #8591 |
Is your feature request related to a problem? Please describe.
Argo now uses Helm v2. Helm v2 requires the
tiller
server running in the Kubernetes cluster. Securingtiller
and Helm v2 is a royal PITA.Describe the solution you'd like
Helm v3 is now in Beta 3 and does away with the server-client model. Helm v3 is a pure client-only application. I would like to be able to use Helm v3 in argo to deploy helm charts without all the complexity of setting up a secure Helm v2 environment.
Have you thought about contributing yourself?
I'm joining your Slack since it seems like a good and healthy project that I wish succeeds. On the technical side I'm still trying to wrap my head around all the moving parts in argo/cd/ci/ui/events/workflows so I'm a long way from being able to contribute with code and (accurate) documentation :)
The text was updated successfully, but these errors were encountered: