-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Use git tags for chart releases #7537
Comments
Hi @jtnz, You should be able to get what you want with the current data included in our charts. For example, if you want to fix on the values for a specific release, you can use something like Regarding the tracking the application version (instead of chart version), the charts do have the appVersion field populated. If you want to check the application version for a specific chart version, you could use: ❯ helm show chart bitnami/mongodb --version 10.9.1
annotations:
category: Database
apiVersion: v2
appVersion: 4.4.9
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
tags:
- bitnami-common
version: 1.x.x
description: NoSQL document-oriented database that stores JSON-like documents with
dynamic schemas, simplifying the integration of data in content-driven applications.
home: https://github.com/bitnami/charts/tree/master/bitnami/mongodb
icon: https://bitnami.com/assets/stacks/mongodb/img/mongodb-stack-220x234.png
keywords:
- mongodb
- database
- nosql
- cluster
- replicaset
- replication
maintainers:
- email: containers@bitnami.com
name: Bitnami
name: mongodb
sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://mongodb.org
version: 10.26.3 You can also search through the chart releases to find the latest chart for an application version by parsing the output of Let me know if I missed something or misunderstood your use case! |
Hi @yilmi, thanks for your response. I guess a little more of our use case might help. We use Flux to deploy everything, so don't use
So in that example there's no way to link to the |
@jtnz thanks for giving me a bit more context, let me rephrase see if I understood correctly: You use HelmRelease from fluxcd.io which providing a GitChartSource (repo + ref + path). This way you use a git tag as a ref to pull the latest chart for an application version. It seems that Flux v1 is meant to be deprecated - fluxcd/flux#3320 Do you know if this is something that is not supported in Flux v2? (If you could provide references to their doc that'd be great). Thanks |
Not quite no. That example simply refers to the chart by version, in that repo URL. The "bad" line in my example was this one:
Without a git tag, we cannot link to the correct version of that file for reference. Here's a nice example:
This might seem like a minor issue, but when dealing with many charts from multiple repos that all use differing versioning systems etc, every little bit helps. |
Hi @jtnz, sounds indeed like something that could bring value. I opened an internal tracker to discuss this and decide if that's something we want to do and we'll let you know. It may take some time, meanwhile I'm putting this request on-hold 👍 |
Hi @yilmi, that's awesome, thanks so much 👏 🙇 |
Did this request go anywhere? It would be great if the bitnami bot was able to accumulate a list of upstream reference points so that when I am researching the |
Hi, I'm afraid there are no plans to work on this at the moment. However, as we are in the process of performing changes in our repositories, I will forward this to the engineering team for consideration. |
Unfortunately, this issue was created a long time ago and although there is an internal task to fix it, it was not prioritized as something to address in the short/mid term. It's not a technical reason but something related to the capacity since we're a small team. Being said that, contributions via PRs are more than welcome in both repositories (containers and charts). Just in case you would like to contribute. During this time, there are several releases of this asset and it's possible the issue has gone as part of other changes. If that's not the case and you are still experiencing this issue, please feel free to reopen it and we will re-evaluate it. |
FWIW this is still an issue with using this repo, amongst other issues. What's interesting is that the sealed-secrets bitnami repo (and perhaps others) contain its own helm chart, including tagging the helm chart releases! This way we can easily reference a given values.yaml file. IMHO this is a perfect example of what would solve this issue, and also a much better model of managing helm charts. This is essentially what Helm did/what happened when they retired the official repo. |
Well I was hoping to monitor new releases for particular charts or containers, but the lack of github version tags makes it impossible... so I'm kind of bafled why this convention is completely ignored. It would be very hard to compare specific values.yaml between specific chart versions unless you have to manually download the helm packages itself and extract the files. |
Just a note to let you know that this is being re-evaluated by the team. As soon as there are updates, we will let the community know. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Which chart:
All of them 😃
Is your feature request related to a problem? Please describe.
Helm can be tricky to navigate and it's really helpful when chart repos use git tags on releases of charts.
Describe the solution you'd like
Add tags when releasing, e.g.
external-dns-5.4.7
.Additional context
Other popular repos do the same. So for example I can link to a specific
values.yaml
file,https://github.com/prometheus-community/helm-charts/blob/kube-prometheus-stack-9.4.4/charts/kube-prometheus-stack/values.yaml
.I do not however recommend following something like eks-charts. They bulk release charts under yet-another-version, which makes it a nightmare to work out what version of the software is running in a given chart version.
The text was updated successfully, but these errors were encountered: