-
Notifications
You must be signed in to change notification settings - Fork 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
[proposal] support file
schema in pull command
#7584
Comments
If you wanted to add this to Helm core, you'd have to give a clear use case for why this would be a desirable feature. We deprecated the |
Hi, I ran into this same issue when using 'helmfile'. There is a requirement to install charts from a local directory but it doesn't allow me to specify a tgz file as Thank you for the pointer on plugins; it turns out it is trivial to write a basic file:// download plugin. Here is a ~10 line example that works for me: https://github.com/senax/helm_file_repo |
@technosophos , one use case for adding a local folder as a repository is that I could use the exact same installation script both locally on my (Windows) development machine and then also when I test on a remote (Linux) server. Currently, my (Helm v2) local script needs to include the drive letter and path to the chart, the chart file extension (.tgz) and (worst of all) the exact version number of the chart, e.g: While the script I run on the remote server simply uses the repository and chart names, and will get the 'latest' version by default: Perhaps I am missing something here? |
Hi, @lucendio & @sguidos - as @senax points out above, it is possible to serve these needs with a plugin. As stated above, we would need to see a clear justification to add this functionality back into Helm core. If any of you (or anyone else reading this) would like to write up that proposal, our process is documented here: https://github.com/helm/community/blob/master/hips/hip-0001.md - that would allow you to explain why this should be in Helm core. I will close this issue at this time, but look forward to any proposal you may choose to make. Thanks. |
"why this should be in Helm core" I need to be able to use Helm in a corporate environment which is not connected to the Internet, and where I don't have the ability to run a local webserver. Ideally I should be able to use Helm by just shipping a git repository with everything stored in there (including TGZs). |
That's my use case. I'm using ArgoCD to deploy massively those kustomization.yaml files to allow teams to decide by themselves what they deploy. That approach would allow them to deploy a custom helm chart from their repository without publishing it to artifactory. ---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
helmCharts:
- name: something
valuesFile: some-config.yaml
version: "1.5"
repo: ../charts/some-chart |
By the way, i had to fix the file plugin here: |
As of now (v3.0.2) it's only possible to pull "remote" charts (and the whole dependency tree). This issue proposes to also support pulling in local charts by providing a path in the local FS - if necessary, prepended by
file://
like it's done in chartrequirements.yaml
files.Current and possible interface behaviour
directly:
or with a detour through a local repository:
As an alternative, when working with the subcommand
dependency
(e.g. by adding a--pull
flag):I'm looking forward to you thoughts.
The text was updated successfully, but these errors were encountered: