-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helm repository as first class Argo CD Application source #1145
Comments
Given helm's ubiquity, and the fact that a helm chart repo and its use of semantic versioning are conceptually similar to git repos + commitSHA, in terms of immutability. I think I am on-board with this feature request. I agree with the point that having a shallow chart to reference an upstream chart feels like a hack. |
Pushing back to v1.1. |
Many values contain sensitive information (passwords). CRDs are not protected like Kubernetes Secrets. It would be great if, in addition to inline values, a Secret object could be referenced by name. The Secret could be required to have a 'values' key to override the default and/or provided values.
|
Is this request been addressed? if yes could you provide me sample snippet how to overwrite upstream helm repo with local repo overrides please. |
I'm not sure how this is supposed to be used... since I cannot add existing public 1st class repos missing documentation update, perhaps? or related to issue #2826 ? |
I think You don't have to add public helm repos. This thing works for me:
|
See references: Nginx helm: * https://github.com/kubernetes/ingress-nginx/blob/master/charts/ingress-nginx/values.yaml Adding helm directly to argocd: * argoproj/argo-cd#1145 (comment)
So far the only source for Argo CD application are git repos (followed by a path and a target revision). What about supporting helm repositories as Application sources as well?
Leveraging Official Helm charts
To leverage some of the official helm charts, we are creating Argo CD applications pointing to the helm/charts GitHub repo (where the resources of the official charts are managed).
Such application would look something like this:
Problems with this approach:
componentParameterOverrides
. This list can sometimes become very long (especially in these public charts) and cumbersome to manageHelm repository as an Argo CD Application source
We may now be in a situation where teams would like to publish their charts (during a release step) into a Helm repo. In this case we would like to create applications pointing directly to the helm repo instead of the multiple GitHub repos which hold the actual templated manifests. In fact, we may not even have access to some of those GitHub repos.
What do you guys thing about supporting such application source?
Suggestion:
This would address the issues 1. and 3. mentioned earlier.
The following workaround - #938 (comment) - has been suggested to address this issue. However, this truly feels like a hack and it quickly gets very tedious to have to create a shallow chart for every upstream original chart.
How to avoid the infinite list of
componentParameterOverrides
?The application changes suggested above would address points 1. and 3. but not really do anything about 2. I am also aware that a proposal redesign of the
componentParameterOverrides
is in progress here - #1141.I would argue however that ideally it would be great to override values in helm charts in a values file like manner. What if instead of a list of parameters to be passed to
--set
during helm template, we would be able to specify a values object that would override the ones invalues.yaml
from the chart source.Suggestion:
fyi, some of it was inspired by the HelmRelease CRD by flux: https://github.com/weaveworks/flux/blob/master/site/helm-integration.md
The text was updated successfully, but these errors were encountered: