ovotech / circleci-orbs

CircleCI Orbs
MIT License
52 stars 37 forks source link

helm-ci support for dependencies #438

Open kkonstan-ovo opened 2 years ago

kkonstan-ovo commented 2 years ago

The helm-ci orb currently doesn't run helm dependency build or update, so will fail if the chart being checked has any dependencies unless the dependencies were committed to the repo as well.

This is an issue when trying to use it to lint charts that use KMI provided charts as dependencies.

To enhance this to support KMI my suggestion is to:

This should be backwards compatible.

To then handle dependencies via the KMI helm repo, the following env variables would need to be provided:

To pull dependencies it would then need to:

I've implemented something like this for the event-streaming-platform-kmi-gitops repo, and can prepare a PR for this too if there's interest.