Going thru https://helm.sh/docs/chart_template_guide/getting_started/
ls -R mychart/ mychart/: charts Chart.yaml templates values.yaml
mychart/charts:
mychart/templates: configmap.yaml
trying to install the chart:
helm install full-coral ./mychart
but it fails with:
Error: This command needs 1 argument: chart name
Helm:
helm version
Client: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
Am I missing something obvious? Any help will be appreciated
By absolute URL: helm install mynginx https://example.com/charts/nginx-1.2.3.tgz. By chart reference and repo url: helm install --repo https://example.com/charts/ mynginx nginx. By OCI registries: helm install mynginx --version 1.2. 3 oci://example.com/charts/nginx.
You can use a --values flag in your Helm commands to override the values in a chart and pass in a new file. Specify the name of the new file after the --values flag in the Helm command. Example: helm upgrade --install <service> -f values.
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.
In your install
command the name is specified as for Helm v3.
In Helm v2.14 the chart name is specified via --name
.
-n, --name string release name. If unspecified, it will autogenerate one for you
See: https://v2-14-0.helm.sh/docs/helm/#helm-install
So in your case this should work
helm install --name full-coral ./mychart
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