helm / helm/chart-releaser

docker image and chart dependencies

Open
#114 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
783
Forks
126
Avg merge
1d 18h
Merged PRs (30d)
11

Description

Remote dependencies does not work with docker image

Chart.yaml
```
dependencies:
- name: redis-ha
version: "4.12.9"
repository: "https://dandydeveloper.github.io/charts"
```

command running from docker image
```
cr package charts/sap-event-ticketing/
```

error
```
Error: no repository definition for https://dandydeveloper.github.io/charts
```

workaround add helm and repo than it works
```
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
helm repo add dandydev https://dandydeveloper.github.io/charts
```

Solution 1:
Install helm into the docker image

Solution 2:
let chart-releaser fetch the repo data to
```
~/.cache/helm/repository/dandydev-charts.txt
~/.cache/helm/repository/dandydev-index.yaml
```

Solution 3:
Install helm into the docker image and use `helm package` instate of `cr package` with `--repository-config` option. Use `~/.config/helm/repositories.yaml` as example

I would prefer to install helm into the docker image.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with the dependency in Chart.yaml and `cr package charts/sap-event-ticketing/` from the Docker image. Compare the available Helm repository configuration and cache paths, including `~/.config/helm/repositories.yaml` and `~/.cache/helm/repository/`; done means remote dependencies package successfully without manually installing Helm or adding the repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.