Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for adhoc dependency to local chart #1765

Merged
merged 2 commits into from
Apr 10, 2021
Merged

Conversation

mumoshu
Copy link
Collaborator

@mumoshu mumoshu commented Apr 9, 2021

Helmfile has been providing a feature called "adhoc chart dependency" that basially enabled you to add Chart.yaml dependencies entry adhocly without forking or modifying the chart.

It was missing the support for using a local chart as the adhoc dependency. This patch adds that.

Usage:

releases[].dependencies[].chart is enhanced to accept the fs path to the local chart:

releases:
- name: foo
  chart: ./path/to/foo
  dependencies:
  - chart: ./path/to/bar

Resolves #1762

Helmfile has been providing a feature called "adhoc chart dependency" that basially enabled you to add Chart.yaml `dependencies` entry adhocly without forking or modifying the chart.

It was missing the support for using a local chart as the adhoc dependency. This patch adds that.

Usage:

`releases[].dependencies[].chart` is enhanced to accept the fs path to the local chart:

```
releases:
- name: foo
  chart: ./path/to/foo
  dependencies:
  - chart: ./path/to/bar
```

Resolves #1762
@mumoshu mumoshu merged commit efad266 into master Apr 10, 2021
@mumoshu mumoshu deleted the adhoc-local-chart-dep branch April 10, 2021 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Local dependencies not working in release definition
1 participant