Closed smktpd closed 3 days ago
We don't control how helm lint
works. I don't believe this is something we can fix.
But you control _helpers.tpl that currently doesn't have enough 'safety checks' (via if
s or maybe with the help of some fallbacks in values files).
IMO this issue is important not only for the sake of sense of correctness by passing lint checks, but that'd also require you to decompose the currently tight connections between manifest templates, values and _helpers.tpl to decouple deployments of the app from its dependent components like cassandra/es/postgres/etc.
The chart does pass lint checks, it just needs the subcharts installed, which is not unreasonable for someone developing the chart.
By installed I mean present.
What are you really trying to do?
I am trying to run helm lint after removing sub-charts (as I don't need them)
Describe the bug
Minimal Reproduction
rm -rf charts && helm lint
Additional context
I should be able to use external dependencies (Postgres/Cassandra/ElasticSearch/etc.) and helm lint shouldn't be affected by removing sub-charts for the components I know beforehand I won't be setting up from those sub-charts.