Package and push your chart to Nexus#
Objectives#
- Push artifacts to Nexus Registry hosted on Stakater App Agility Platform (SAAP).
Key Results#
- Helm chart package and pushed to Nexus.
Guide#
Get Nexus Helm Registry URL#
Docker Image and Helm Chart Repository hosted by Nexus#
Ask admin Helm Registry Credentials for helm chart repository.
Find Nexus Helm Registry URL here.
Alternatively, Navigate to the cluster Forecastle, search nexus
using the search bar on top menu and copy the nexus url.
-
nexus-helm-reg-url
: Add-helm
in URL afternexus
and append/repository/helm-charts/
. This URL points to Helm Registry referred asnexus-helm-reg-url
in this tutorial for examplehttps://nexus-helm-stakater-nexus.apps.clustername.random123string.kubeapp.cloud/repository/helm-charts/
Package and Upload the chart to Nexus#
- Run the following command to package the helm chart into compressed file.
This command packages a chart into a versioned chart archive file.
- Upload packaged chart to Nexus Helm Registry.
curl -u "<helm_user>":"<helm_password>" `nexus-helm-reg-url` --upload-file "CHART_NAME-CHART_VERSION.tgz"
Make sure to get credentials from Stakater Admin.