nikhilsbhat / helm-drift

Helm plugin that identifies the configuration that has drifted from the Helm chart
https://artifacthub.io/packages/helm-plugin/helm-drift/drift
MIT License
62 stars 8 forks source link

Missing option to specify version of chart to run against #18

Closed herrbpl closed 6 months ago

herrbpl commented 6 months ago

When using helm drift against chart and not release, it automatically takes latest chart in repo to check against.

for example: helm drift run -n test-bo02-ca-02 test-bo02 repo/clientarea --skip-validation -f ../values-terragrunt-plan.yaml would take latest chart of clientarea from repo repo and check against that.

In operational environments, it is often required to check againt some devel version or maybe little bit older version than latest in repo.

As workaround, one can fetch and unpack desired chart version into subfolder but this is extra step.

Please consider adding --version option for helm drift plugin

nikhilsbhat commented 6 months ago

@herrbpl, Make sense to add the support for it and this commit has necessary changes.

The latest release will have the necessary support, hence closing this.