helm / helm/chart-releaser

cr fails if chart has local dependency

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

Description

## issue
```
charts
|- chart1
|- charts
|- sub-chart1 -> ../../../sub-chart1
|- sub-chart1
```

In this case the `ct lint` requires that the `Chart.yaml` for `chart1` have an entry for `dependencies` such as:

```
dependencies:
- name: sub-chart1
version: ">= 0.0.0 || >= 0.0.0-0"
```

Problem is when I try to run `cr package chart/chart1` i get:
```
Error: could not find protocol handler for:
```

## workaround
if i run a `helm dependency update` first then it generates a Chart.lock file and then the `cr package` passes

## ask
make it so `cr package` works for local dependencies without a Chart.lock file (or generate the lock file as part of the process if needed)

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.