News and Notes from the Makers of Nexus | Sonatype Blog

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

Written by Gaurav Agarwal | April 13, 2020

Why Helm?

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

Create repository

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.

Asset 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