tke icon indicating copy to clipboard operation
tke copied to clipboard

Can not deploy helm chart with dependencies

Open xiaosuiba opened this issue 4 years ago • 0 comments

What happened: Can not deploy helm chart with dependencies

What you expected to happen: One can deploy helm chart with dependencies successfully.

How to reproduce it (as minimally and precisely as possible):

  1. push charts and it's dependencies into a chartgroup.
  2. deploy the chart. tke-application-api will log several errors.

Anything else we need to know?: It's an known issue related to helm/helm:

  1. https://github.com/helm/helm/pull/9746/files (not merged, but works on pkg/downloader/manager.go)
  2. https://github.com/helm/helm/commit/8232a76aef5dd9671e2b4cdfa0fbca358725fabc#diff-8157c4e80f3a8abb1dd88a83411502f7d02b91e112df1a6a7c25b176d3d18d71 (and some pr after that)

As the first pr has not been merged yet, plus the main branch of helm has updated k8s-client dependencies to v0.22.1, how to fix this issue would be a huge challenge. Currently we fix this by replace helm/helm to a private repository like tke does with chartmuseum/storage.

Environment:

  • TKE version:
  • Global or business cluster:
  • Kubernetes version (use kubectl version):
  • Install addons:
  • Others:

xiaosuiba avatar Oct 08 '21 03:10 xiaosuiba