Helm 3 commands cheatsheet
Create .tgz package from chart folder content
cd chart
helm package .
Deploy local tgz package to kubernetes
The terminal must have been authenticated. In case of AKS, run az aks get-credentials --resource-group <RESOURCEGROUP_NAME> --name <AKS_CLUSTERNAME>
helm install <RELEASE_NAME> <TGZ_PACKAGE>
List releases in kubernetes
helm list
helm get all <RELEASE_NAME>
Deploy chart from registry
No direct way for the moment. Need to pull, export and then install
helm chart pull <PACKAGE_REPO_WITH_VERSION>
helm chart export <PACKAGE_REPO_WITH_VERSION>
helm install <RELEASE_NAME> <EXPORTED_CHART_FOLDER>
helm chart export
will create a folder named after the chart (chart.yaml, name), which not necesarily needs to match the repository name where the chart is kept in the registry, although I prefer to make them match. The chart name would be used as EXPORTED_CHART_FOLDER
then.