Topics

local filesystem chart dependencies

Just Marvin
 

Hi,

    I've got two charts on my filesystem - which are not uploaded yet to any repo. They are both located in the same directory.

[zaphod@oc3027208274 helm]$ ls
game-tracker  teamdb-ui


Snippet from Charts.yaml of "teamdb-ui":

dependencies:
  - name: game-tracker
    version: 0.1.0
    repository: "file://./game-tracker"


    However, when I do a "dependency list", I get this status:

zaphod@oc3027208274 helm]$ helm dependency list teamdb-ui
NAME         VERSION REPOSITORY           STATUS
game-tracker 0.1.0   file://./game-tracker missing

    I have tried various syntaxes - file://. and other variants as well. Its also not clear if the dependency needs to be to the chart version or the app version, but I have tried with both. How do I get this working?

Regards,
Marvin

Paul Czarkowski <pczarkowski@...>
 

Hi Marvin,

I believe the dependency entry should as follows ( `..` instead of `.` since the game-tracker chart is in the same parent directory as `teamdb-ui`:

```
dependencies:
  - name: game-tracker
    version: 0.1.0
    repository: "file://../game-tracker"
```

On Mon, May 11, 2020 at 5:36 AM Just Marvin <marvin.the.cynical.robot@...> wrote:
Hi,

    I've got two charts on my filesystem - which are not uploaded yet to any repo. They are both located in the same directory.

[zaphod@oc3027208274 helm]$ ls
game-tracker  teamdb-ui


Snippet from Charts.yaml of "teamdb-ui":

dependencies:
  - name: game-tracker
    version: 0.1.0
    repository: "file://./game-tracker"


    However, when I do a "dependency list", I get this status:

zaphod@oc3027208274 helm]$ helm dependency list teamdb-ui
NAME         VERSION REPOSITORY           STATUS
game-tracker 0.1.0   file://./game-tracker missing

    I have tried various syntaxes - file://. and other variants as well. Its also not clear if the dependency needs to be to the chart version or the app version, but I have tried with both. How do I get this working?

Regards,
Marvin