Introduction
Bitnami provides a collection of popular applications packaged as Helm charts, defined on Github and hosted on Docker Hub. These charts can be easily accessed and deployed in Kubernetes environments using Helm. This guide outlines the steps to create a Virtual repository in JFrog Artifactory that aggregates Local and Remote Helm OCI repositories and pull a Helm chart from it.
Outlined below is the process for setting up the repositories, configuring the client, and pulling the keycloak chart:
Artifactory Set Up:
Use the Quick Repository Creation tool to create a Virtual repository named jeremyl-helmoci (for example), which aggregates the Local repository jeremyl-helmoci-local and the Remote repository jeremyl-helmoci-remote. By default, the helmoci remote repository points to https://registry-1.docker.io/ . See below illustration:
Helm Set Up:
Log into the remote registry using the command as provided by the jeremyl-helmoci repository Set Me Up instructions:
helm registry login -u user -p <SET_ME_UP_CREATED_TOKEN> https://<JFROG_HOST>
Login Succeeded
Then pull the keycloak chart using the following command, as detailed in the repo’s Set Me Up:
helm pull oci://<JFROG_HOST>/jeremyl-helmoci/bitnamicharts/keycloak
The chart was successfully pulled, with output indicating the version and digest:
Pulled: <JFROG_HOST>/jeremyl-helmoci/bitnamicharts/keycloak:24.4.8
Digest: sha256:aaaaa9ee37eb11dc81a313dfae3640e197b7195d9c715d80963dad0a257cd6d8