Pattern to override helm chart source repository during development #582
Labels
3-Container
Relates to plugin related issues
enhancement
New feature or request
priority/medium
Default priority for items
size m
Milestone
Problem description (if applicable)
The helm-controller allow HelmReleases to source charts from via the following type:
https://fluxcd.io/docs/components/helm/api/#helm.toolkit.fluxcd.io/v2beta1.HelmChartTemplateSpec
which references:
https://fluxcd.io/docs/components/helm/api/#helm.toolkit.fluxcd.io/v2beta1.CrossNamespaceObjectReference
In general we want to source all helm charts from a local helm repository source, such as produced by the helm chart collator. There may be some exceptions to this however, particularly during development it would be nice to be able to reference a helm chart from an upstream HelmRepository or from a GitRepository (maybe even against an open patchset which changes a chart implementation), before commiting any change to the Helm chart collator input (charts.yaml).
The versions catalogue already has a
charts[*].sourceRef
field for this purpose, but it only haskind
/name
fields, and so is missingnamespace
/apiVersion
and it also does not include any validation metadata.There are some additional fields in the above referenced type, which we want to override as part of of overriding the chart source, such as
valuesFiles
andinterval
, though these are less critical, so they could be omitted if desired.Proposed change
chart
/version
as they do now.The text was updated successfully, but these errors were encountered: