Cheat Sheet - Helm

Only render selected template in Helm

helm template -s templates\deployment.yaml azure-vote-front -n demo	

Deploy release into a specific non-existing namespace

helm install --namespace foobar --create-namespace azure-vote-front .\azure-vote-front\

Delete a release

helm uninstall azure-vote-front --namespace demo

List available charts under a repo

helm repo update
helm search repo

Log into Azure Container Registry

TOKEN=$(az acr login --name <registry> --expose-token --output tsv --query accessToken)
helm registry login <registry>.azurecr.io -u 00000000-0000-0000-0000-000000000000 -p $TOKEN

Pull/download Helm Chart from registry

helm pull oci://<registry>.azurecr.io/..../<chart> --version 1.2.3