tke
tke copied to clipboard
Can not deploy helm chart with dependencies
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):
- push charts and it's dependencies into a chartgroup.
- 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:
- https://github.com/helm/helm/pull/9746/files (not merged, but works on
pkg/downloader/manager.go) - 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: