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

Using spray with sub-charts of sub-charts #49

Open
umardev0 opened this issue Nov 27, 2019 · 2 comments
Open

Using spray with sub-charts of sub-charts #49

umardev0 opened this issue Nov 27, 2019 · 2 comments

Comments

@umardev0
Copy link

umardev0 commented Nov 27, 2019

Hi,

I am trying out spray for a case when we might have sub-charts of sub-charts (see diagram below) and use the umbrella chart for life-cycle management of all the charts but for now it seems the umbrella chart only considers it's own sub-charts as dependencies and we can only manage them.

umbrella-chart
|--sub-chart
|----sub-sub-chart

I tried adding requirements.yaml inside sub-charts to handle their sub-charts but umbrella chart does not handle them.

Any suggestions how can I achieve this functionality?

@pamiel
Copy link
Contributor

pamiel commented Nov 27, 2019

Hi @umardev0
Spray is only managing the first level of sub-chart.
Sub-sub-charts (if several of them), will be processed at the same time as their parent sub-chart.

By the way:

use the umbrella chart for life-cycle management of all the charts

Indeed Helm itself is not managing this: a requirements.yaml file only deals with sub-charts, and not with sub-sub-charts.

@pamiel
Copy link
Contributor

pamiel commented Nov 27, 2019

So the only solution when using helm-spray is to move all your sub-sub-charts as sub-charts:

umbrella-chart
|-- sub-chart1
|-- sub-sub-chart1.1
|-- sub-sub-chart1.2
|-- sub-chart2
|-- sub-sub-chart2.1

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

No branches or pull requests

2 participants