helm / helm/chartmuseum

chartmuseum cannot server versions which differs in 'build metadata' x.y.z+<build-metadata>'

Open
#311 7 comments 5 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3.8k
Forks
407
PR merge metrics
No merged PRs in 30d

Description

So i have 2 versions of my helmchart called dnsutils in my chartmuseum
output of `helm search repo -l`

```
NAME CHART VERSION APP VERSION DESCRIPTION
chartmuseum/dnsutils 0.1.0 1.3 A Helm chart for Kubernetes
chartmuseum/dnsutils 0.1.0+1.abcdeff 1.3 A Helm chart for Kubernetes
```

my simple `requirements.yaml`:
```
dependencies:
- name: dnsutils
version: "0.1.0+1.abcdeff"
repository: "@chartmuseum"
condition: dnsutils.enabled
tags:
- debug
```

now when i try to get the dependencies for that yaml with helm dep cmd -
`helm dependency update charts/workspaces/debug`

i get the wrong version! i get `dnsutils-0.1.0.tgz` instead of `dnsutils-0.1.0+1.abcdeff.tgz`

output of the helm dep update directory -
```
noam@developer:~/work/omphalos$ ls charts/workspaces/debug/charts/
dnsutils-0.1.0.tgz
```

it's very easy to reproduce.

Let me know if i was understood this time
And thanks again for the help
Noam

Output of helm version:
version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"}

chartmuseum version:
ChartMuseum version 0.11.0 (build 969515a)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.