How to use a specific version of the chart ? #681

Closed
opened 2024-07-06 13:44:23 +00:00 by adamency · 2 comments
adamency commented 2024-07-06 13:44:23 +00:00 (Migrated from gitea.com)

It seems the Chart version in this project is never changed and has always been 0.0.0. Only the appVersion is changed, but as far as I'm aware this is not something that can be specified in a helm install command, and seems like it's not gonna change anytime soon (see helm/helm#3555).

So, how can we specify a specific version of the chart to be installed ?

If impossible, could you please consider using the version filed of the Chart.yaml, this is very much needed to be able to use specific version tags for reproducibility of installs.

It seems the Chart version in this project is never changed and has always been `0.0.0`. Only the `appVersion` is changed, but as far as I'm aware this is not something that can be specified in a `helm install` command, and seems like it's not gonna change anytime soon (see [helm/helm#3555](https://github.com/helm/helm/issues/3555)). So, how can we specify a specific version of the chart to be installed ? If impossible, could you please consider using the `version` filed of the `Chart.yaml`, this is very much needed to be able to use specific version tags for reproducibility of installs.
justusbunsi commented 2024-07-06 14:17:22 +00:00 (Migrated from gitea.com)

Seems you refer to the main branch instead of using released versions. Please see the installation instructions https://gitea.com/gitea/helm-chart#installing

https://dl.gitea.com/charts/ contains all released versions. Using helm install/upgrade with --version will help you using the desired version.

Seems you refer to the main branch instead of using released versions. Please see the installation instructions https://gitea.com/gitea/helm-chart#installing https://dl.gitea.com/charts/ contains all released versions. Using helm install/upgrade with `--version` will help you using the desired version.
pat-s commented 2024-07-06 14:20:33 +00:00 (Migrated from gitea.com)
helm repo add gitea-charts https://dl.gitea.com/charts/
helm repo update
helm install gitea gitea-charts/gitea --version <version>

where <version> refers to the Chart version. See also https://gitea.com/gitea/helm-chart#installing.

but as far as I'm aware this is not something that can be specified in a helm install command, and seems like it's not gonna change anytime soon (see helm/helm#3555).

This discusses using appVersion to version an install, not the chart version. Are you confusing appVersion and Chart version?

EDIT: Too slow 🐌 😄

```sh helm repo add gitea-charts https://dl.gitea.com/charts/ helm repo update helm install gitea gitea-charts/gitea --version <version> ``` where `<version>` refers to the Chart version. See also https://gitea.com/gitea/helm-chart#installing. > but as far as I'm aware this is not something that can be specified in a helm install command, and seems like it's not gonna change anytime soon (see helm/helm#3555). This discusses using `appVersion` to version an install, not the chart version. Are you confusing `appVersion` and Chart version? EDIT: Too slow 🐌 😄
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunny/helm-chart#681
No description provided.