Deploy public helm chart with fleet
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
Fails to find chart.
When deploying a helm chart using the fleet.yaml using just the chart pointing to a tarball works as expected
helm:
chart: https://gitlab.com/gitlab-org/charts/gitlab-runner/-/archive/0-76-stable/gitlab-runner-0-76-stable.tar.gz
but when trying to provide the location with the repo and chart keys like
helm:
chart: gitlab/gitlab-runner
repo: https://charts.gitlab.io
It returns a no chart found error.
However, when we install this chart manually the following commands work and the chart is available.
helm repo add gitlab https://charts.gitlab.io/
helm search repo -l gitlab/gitlab-runner
Expected Behavior
Find and deploy the chart, since it does exist.
Steps To Reproduce
No response
Environment
- Architecture: amd64, Linux/UNIX, al2023
- Fleet Version: v0.11.3
- Cluster:
- Provider: aws
- Options:
- Kubernetes Version: v1.31.6+rke2r1
Logs
Anything else?
No response
It seems that in the failing case, the chart field contains an alias (gitlab) to the repository name, as per the helm repo add command you have shared.
Have you tried the following?
helm:
chart: gitlab-runner
repo: https://charts.gitlab.io
Closing. Please feel free to reopen if the above suggested fix does not work.