I have added mysql in requirements.yaml. Helm dependency downloads the mysql chart
helm dependency update Hang tight while we grab the latest from your chart repositories... ...Successfully got an update from the "nginx" chart repository ...Successfully got an update from the "stable" chart repository Update Complete. ⎈Happy Helming!⎈ Saving 1 charts Downloading mysql from repo <our private repository> Deleting outdated charts
But when I do helm install my_app_chart ../my_app_chart It gives error
Error: found in Chart.yaml, but missing in charts/ directory: mysql
yaml: This is where you'll put the information related to your chart. That includes the chart version, name, and description so you can find it if you publish it on an open repository. Also in this file you'll be able to set external dependencies using the dependencies key. values.
Helm uses a packaging format called charts. A chart is a collection of files that describe a related set of Kubernetes resources. A single chart might be used to deploy something simple, like a memcached pod, or something complex, like a full web app stack with HTTP servers, databases, caches, and so on.
Synopsis. This command takes a path to a chart and runs a series of tests to verify that the chart is well-formed. If the linter encounters things that will cause the chart to fail installation, it will emit [ERROR] messages.
It will pull down the latest charts that satisfy the dependencies, and clean up old dependencies. On successful update, this will generate a lock file that can be used to rebuild the dependencies to an exact version.
You don't have to add it to the control version system, you just download them again if for some reason you have lost them (for example when you clone the repository). To do this, execute the command:
helm dependency update
The above command will download the dependencies you've defined in the requirements.yaml
file or dependencies
entry in Chart.yaml
to the charts
folder. This way, requirements are updated and you'll have the correct dependencies without worrying about if you updated them also in the control version system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With