Skip to content
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 commands not working #6

Closed
VarunKoteshwar opened this issue Mar 25, 2020 · 4 comments · Fixed by #16
Closed

helm commands not working #6

VarunKoteshwar opened this issue Mar 25, 2020 · 4 comments · Fixed by #16
Labels
documentation Improvements or additions to documentation

Comments

@VarunKoteshwar
Copy link

The following commands are not working, note I am on helm 3.

helm push apps local-development

Error: unknown command "push" for "helm"
Did you mean this?
pull
Run 'helm --help' for usage.

@andreyzher
Copy link
Contributor

This requires the Helm Push plugin to be installed - a prerequisite that had been overlooked.

It is possible to work without the Helm Push plugin by packaging the Helm charts manually and placing them in the storage location of ChartMuseum, but it makes for a more awkward developer experience.

@andreyzher andreyzher added the documentation Improvements or additions to documentation label Mar 25, 2020
@VarunKoteshwar
Copy link
Author

Thank you, these links were broken and hence all these.

The last step is failing:
helm install curamrelease local-development/spm

Error: found in Chart.yaml, but missing in charts/ directory: apps, batch, ce-app, configmaps, ihs, mqserver, openldap, xmlserver

@andreyzher
Copy link
Contributor

Please double-check that you ran all the commands in the Preparing Helm charts section.

Before you can install/push the spm chart, all the other charts need to be helm push'ed to local-development, then the dependencies of the chart need to be resolved using helm dependency update spm (or helm dep up spm for short)

You can verify whether the necessary charts actually made it to ChartMuseum by running curl http://127.0.0.1:8080/index.yaml - this will return the list of indexed charts in YAML format.

With the dependencies resolved, you should be in position to run helm push spm local-development

Finally, you will need to refresh the chart index by running helm repo update.

@VarunKoteshwar
Copy link
Author

I performed all these. Here is the snippet from above url.

spm:


I am not able to find the location charts/spm-1.2.0.tgz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants