:
Skip Navigation
Resources Blog How to use Sonatype Nexus Repository and Helm for CI/CD

How to use Sonatype Nexus Repository and Helm for CI/CD

Helm makes templating applications easy

Helm makes the versioning of Kubernetes applications possible

Helm makes reusing and sharing possible

Helm makes deploying Kubernetes applications concise

Helm makes dependency management possible

Helm helps enforce standards

The three big concepts of Helm

Helm charts

Helm release

Helm repositories

charts/
|
|- index.yaml
|
|- alpine-0.1.2.tgz
|
|- alpine-0.1.2.tgz.prov

CI/CD with Docker and Helm

Hosting a Helm repository on Sonatype Nexus Repository

Installing the nexus-repository-helm plugin on Sonatype Nexus Repository

Creating the Helm-hosted repository

Select recipe

Helm02-CreateRepo

Create repository

Helm03-HelmHosted

Helm-hosted repository

Testing the setup

Accessing the Helm repository

Pushing Helm charts to Sonatype Nexus Repository

Browse the helm-hosted repository to see your asset uploaded.

Helm04-AssetUploadAsset uploaded

Check the index.yaml file, and you will find it's been auto-updated.

Installing Helm charts from Sonatype Nexus Repository

If everything goes well, Helm will download the chart from Sonatype Nexus Repository and install it on your Kubernetes cluster.

Originally published on Medium

Picture of Gaurav Agarwal

Written by Gaurav Agarwal

Certified Enterprise Cloud, Integration and DevOps Architect, Tech Enthusiast, and Author.