MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Openshift: How to add Helm Repository in Openshift

Adding a Helm repository in OpenShift is a common step to manage and deploy Helm charts in your OpenShift cluster. OpenShift supports Helm CLI out of the box, and also provides an Operator (Helm Chart Repository CRD) to centrally manage chart repositories visible in the OpenShift Web Consoleโ€™s Developer Catalog.

Below, youโ€™ll find two ways:

  • A. Using the Helm CLI (User-level, CLI only)
  • B. Adding a Helm Chart Repository for the OpenShift Web Console (Admin-level, visible in Catalog)

A. Add a Helm Repository via CLI (User-level, CLI only)

This lets you use any public Helm repo (e.g., Bitnami, Jetstack) in your terminal, similar to Kubernetes.

Step 1. Install the Helm CLI

Step 2. Add a Repository

helm repo add bitnami https://charts.bitnami.com/bitnamiCode language: JavaScript (javascript)
  • Replace bitnami and URL with your desired repo.

Step 3. Update Repositories

helm repo update

Step 4. List Charts

helm search repo bitnami

Step 5. Install a Chart into OpenShift

Make sure youโ€™re logged into your OpenShift cluster:

oc login ... # login if needed
helm install my-mongodb bitnami/mongodb --namespace=my-namespaceCode language: PHP (php)

Thatโ€™s it!
You can now install, upgrade, or uninstall Helm charts using the CLI.


OpenShift console YAML view creating a ProjectHelmChartRepository for Bitnami in devopsschool-dev namespace

B. Add Helm Chart Repository for the OpenShift Web Console Catalog (Admin-level)

This is required if you want all users to browse and deploy charts from a repo using the OpenShift Web Console (Developer Catalog).

Step 1. Log in as a cluster-admin

oc login -u kubeadmin -p <password> https://api.<cluster-domain>:6443Code language: HTML, XML (xml)

Step 2. Create a Project (Optional)

oc new-project devopsschool-devCode language: JavaScript (javascript)

Step 3. Apply the ProjectHelmChartRepository YAML

Create a file called bitnami-helm-repo.yaml:

apiVersion: helm.openshift.io/v1beta1
kind: ProjectHelmChartRepository
metadata:
  name: bitnami
  namespace: devopsschool-dev
spec:
  name: bitnami
  description: Bitnami Helm chart repository
  connectionConfig:
    url: https://charts.bitnami.com/bitnami
Code language: JavaScript (javascript)

You can use any name/namespace. The url: should be your chart repo URL.

Step 4. Apply the YAML

oc apply -f bitnami-helm-repo.yamlCode language: CSS (css)

Step 5. Check in the Web Console

  • Go to Developer โ†’ +Add โ†’ Helm Chart
  • You should see the Bitnami charts available for install!

Troubleshooting & Tips

  • You need the Helm Operator installed by default in OpenShift 4.x+.
  • To add a repo cluster-wide (all namespaces), use a HelmChartRepository resource, not ProjectHelmChartRepository.
  • For private repositories, add authentication fields under connectionConfig.

Summary Table

MethodScopeUse Case
Helm CLIPer-user (CLI only)Quick install, dev/test, CI/CD
ProjectHelmChartRepositoryNamespace (Web UI & CLI)Org-wide, dev teams, UI Catalog
HelmChartRepositoryCluster-wideAll projects, company-wide

References


OpenShift Developer Helm Repositories tab listing the bitnami repository in devopsschool-dev namespace

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Helm Tutorials: helm show commands

helm show prints a chart's information without installing it. That covers the Chart.yaml metadata, the default values.yaml, the README and any CRDs. This page explains each subcommand…

Read More

Helm Tutorials: How to create Basic Custom Charts

This tutorial shows how to build a minimal custom Helm chart: scaffold it with helm create, remove the default templates, add your own Pod template, set chart…

Read More

Kubernetes: Pull an Image from a Private Registry using Yaml and Helm File

Kubernetes pulls images from a private registry using a kubernetes.io/dockerconfigjson Secret. A Pod references that Secret through imagePullSecrets, either directly or through its ServiceAccount. This page shows…

Read More

Deploying Nexus Certificate Manager (CM) and Protocol Gateway (PGWY) on Kubernetes

Step-by-step tutorial, written from an actual deployment of Certificate Manager 8.15.1-1 (CF server image 8.15.1-1, PGW image 8.15.1-1) on a 2-node kubeadm cluster. Status of this document (2026-11-12) Steps 1-8 were executed…

Read More

Debugging Terraform + Helm Drift on EKS: Failure Behaviours and Fixes

A field tutorial based on a real incident removing a stale CriticalAddonsOnly toleration from metrics-server and KEDA on EKS Auto Mode clusters managed by Terraform Cloud (TFC) + the eks-blueprints-addons module. TL;DR We tried to…

Read More

Staff Kubernetes Engineer: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path

The Staff Kubernetes Engineer is a senior individual contributor responsible for designing, evolving, and operating Kubernetes-based platforms that enable engineering teams to deliver software safely, reliably, and efficiently at scale. This role blends deep Kubernetes expertise with platform engineering practices, cloud infrastructure design, and strong operational leadership in incident response, resilience, and continuous improvement.

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x