Helm-charts: Support helm 3.x

Created on 8 Dec 2019  Â·  14Comments  Â·  Source: elastic/helm-charts

Describe the feature:
I'd be nice if helm 3.x would be supported. It's released and unfortunately a lot of issues with helm 2.x are only solved in 3.x.

Describe a specific use case for the feature:
Installation with helm 3.x because I use it/have to use it for other chart installations.

Currently the following charts are experiencing issues with helm 3.x:

  • ~logstash (#398)~
helm3

Most helpful comment

I've been using helm 3 since the first beta (including these), and haven't yet had to modify a chart to get it to work (fingers crossed)

All 14 comments

I managed to install the chart with Helm 3 by extracting the template helm template then adding the template to a new empty Helm 3 compatible chart. All working fine so far, only Kibana is misbehaving.

With the exception of needing to define a service in logstash, everything has installed fine for me as-is under Helm 3. However, it should be noted that I am installing the charts as subcharts of a Helm 3 chart, which may or may not make a difference.

Kibana worked after reinstalling the kibana helm chart the same way with helm 3. So it is just a matter of adding the Chart.yaml file

I've been using helm 3 since the first beta (including these), and haven't yet had to modify a chart to get it to work (fingers crossed)

Work is also happening in #516.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

FYI, Helm 3 support has been added in beta with 7.9.0 and 6.8.12 releases => #759

Updating rbac.authorization.k8s.io API is required to make helm lint --strict work with Helm 3 => #890

Hopefully coming, helm 2 is EOL. https://helm.sh/blog/helm-2-becomes-unsupported/

Current status of Helm 3 support work:

  • ✅ helm install of all charts with default values with Helm 3 (Logstash fixed in #695 + #776 + #839)
  • ✅ helm lint --strict for all charts (deprecated K8S API replaced in #890)
  • ✅ heritage labels removed from K8S immutable field in #437 and #516
  • ✅ K8S deprecated Capabilities.KubeVersion.GitVersion replaced in #516
  • ✅ Doc updated with Helm 3 commands in #759
  • ✅ CI tests updates in #516

The remaining tasks are:

  • upgrade tests and document breaking changes if needed
  • add Helm 3 to GA support in 7.10.0 release

Helm 3 made changes to how tests are cleaned up. Before it was possible to run helm test --cleanup .., now the manifests seem to need an annotation "helm.sh/hook-delete-policy": hook-succeeded to be properly deleted (as briefly mentioned at the bottom of the new docs).

When running the chart tests with Helm 3 we are seeing the tests pile up:

Screenshot 2020-11-18 at 10 28 04

Would it be possible to add that annotation? Should I open a new issue or PR for this change?

@dominik-bln, Thanks for the tips, I thought that test pods where cleaned automatically with Helm 3 but it seems not. I created #911 to fix it.

Helm 3 work is done and will be part of 7.10.0 release soon.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

teebu picture teebu  Â·  6Comments

davidkarlsen picture davidkarlsen  Â·  5Comments

kawat55 picture kawat55  Â·  3Comments

dperetti picture dperetti  Â·  4Comments

4nte picture 4nte  Â·  4Comments