argo-cd icon indicating copy to clipboard operation
argo-cd copied to clipboard

add possibility to pin subchart version or/and app version

Open maratsal opened this issue 9 months ago • 4 comments

Not sure if this makes sense or possible, but there is a use case for this for sure.

Summary

It would be great if we have possibility to pin sub chart version (and/or app version) when we are using umbrella chart with subcharts to deploy the application.

Motivation

Currently if there is a chart with multiple subcharts it is not possible to pin the version of the sub chart. Pinning version of the subchart is helping to pin version of the subchart application.

Proposal

Argo CD would check available versions of the subcharts and deploy version of the subchart that is set in the app details.

maratsal avatar May 10 '24 14:05 maratsal

Can't you pin the versions in the umbrella chart?

crenshaw-dev avatar May 10 '24 14:05 crenshaw-dev

I believe only in dependencies sections of Chart.yaml - https://stackoverflow.com/questions/70956755/how-can-we-override-dependencies-version-in-helm-chart-chart-yaml-file

or - https://github.com/helm/helm/issues/9849

It might be helm limitation, was just curious if we can overcome it by using Argo CD.

maratsal avatar May 10 '24 14:05 maratsal

Why is pinning in Chart.yaml not a viable option?

crenshaw-dev avatar May 10 '24 15:05 crenshaw-dev

if we are installing chart from chart repository, how can we pin it with Chart.yaml (during installation)? how can we do it with Argo CD?

maratsal avatar May 10 '24 19:05 maratsal