Skip to end of metadata
Go to start of metadata

Create Helm Package

helm package .

# Add version
helm package --version <VERSION> .
Successfully packaged chart and saved it to: /Users/john/projects/netguard_cyberdome/deployment/kubernetes/components/ingress-controller/ingress-nginx-4.3.0.tgz

Add Azure Repo

helm repo add ncydacr --username ncydacr --password XXXXX
"ncydacr" has been added to your repositories

Push to Azure

helm push <PACKAGE_FILE_NAME>.tgz oci://
helm push ingress-nginx-4.3.0.tgz oci://
Digest: sha256:0ffd79e4d12a33a232c5d871d298b0672a08dc467af56337b90e6ff893e898cd

Push using az (required for our helm2 charts used by Flux)

az acr helm push -n ncydacr ./<PACKAGE_FILE_NAME>.tgz
This command is implicitly deprecated because command group 'acr helm' is deprecated and will be removed in a future release. Use 'helm v3' instead.
Unable to get AAD authorization tokens with message: 2022-11-17 15:46:53.417375 An error occurred: CONNECTIVITY_REFRESH_TOKEN_ERROR
Access to registry '' was denied. Response code: 401. Please try running 'az login' again to refresh permissions.
Unable to get admin user credentials with message: The resource with name 'ncydacrinprogress' and type 'Microsoft.ContainerRegistry/registries' could not be found in subscription 'CNS BA-Security-CyberSecurity-Dome-DEV-out (b63b61a0-605d-47e8-b8a6-598e188a00ed)'.
Username: ncydacrinprogress
  "saved": true


helm repo update

# or with specific repo
helm repo update <repo>
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "ncydacr" chart repository
Update Complete. ⎈Happy Helming!⎈
helm search repo <REPO/CHART>
helm search repo ncydacr/ingress-nginx
NAME                 	CHART VERSION	APP VERSION	DESCRIPTION                                       
ncydacr/ingress-nginx	4.3.0        	1.4.0      	Ingress controller for Kubernetes using NGINX a...

Verify Chart Downloaded on Destination Cluster

kubectl get helm charts -A 

  • No labels