Re: Linking external files to the values.yaml
Matt Fisher <matt.fisher@...>
Up until very recently there was no way to reference files external to the helm chart asides from using invocations like `--set foo=$(cat myfile)`. However, there is a PR out there to make this simpler by adding a new --set-file flag: https://github.com/kubernetes/helm/pull/3758
Until then, using --set is your best bet.
Is it all right if we go ahead and close https://github.com/kubernetes/helm/issues/4131 and carry the conversation here? It's nice to keep a conversation in one place.
Matthew Fisher, Caffeinated Software Engineer
Microsoft Azure Platform
Nanoose Bay, BC Canada
From: cncf-kubernetes-helm@... <cncf-kubernetes-helm@...> on behalf of kavindu175@... <kavindu175@...>
Sent: Monday, May 28, 2018 3:19 AM
Subject: [cncf-kubernetes-helm] Linking external files to the values.yaml
Currently, I am working on deploying MySQL using helm package. In that scenario, I want to add some custom configuration files and initialization SQL file. According to the details which are provided on GitHub, we have to paste the content of all the configuration files and all the initialization SQL files into the values.yaml file. But in my case, I have a very big initialization SQL file and it is hard to paste it on the values.yaml file.
Therefore, is there a way to link an external file or file path to the values.yaml or is there some other solution for this issue?
Kindly appreciated your inputs on this issue.