Upload Mission Control Helm charts to a private registry
In airgap environments where direct access to public Helm charts is restricted, you might need to upload the Mission Control Helm chart to a private registry. This process:
-
Stores the Mission Control Helm chart in your private registry.
-
Maintains version control of the chart.
-
Distributes the chart securely within your airgap environment.
-
Enables installation of Mission Control using the chart from your private registry.
This topic explains how to upload the Mission Control Helm chart to a private registry and how to pull it for installation in your airgap environment.
Prerequisites
Before you begin, ensure that you have:
-
An IBMid: An IBMid account with MFA enabled is required. If you don’t have one, create an IBMid account. If your organization uses Enterprise Federation (EF) for authentication with corporate credentials, see the IBMid EF documentation.
-
An IBM entitlement key.
-
Go to IBM Container Library.
-
Sign in with an IBM ID.
-
Click Get entitlement key (or Copy key if one already exists).
-
-
Helm version 3.14.0 to 3.18.0 installed.
-
Access to an OCI-compatible private registry and credentials to push to it.
Upload the Helm chart
To upload the Mission Control Helm chart to your private registry, follow these steps:
-
Download the Mission Control Helm chart from IBM Container Registry (ICR):
helm pull oci://icr.io/mission-control-helm/mission-control --version VERSIONReplace
VERSIONwith the Mission Control version you want to download. -
Authenticate to your private registry and store the credentials:
helm registry login REGISTRY_URL \ --username REGISTRY_USERNAME \ --password REGISTRY_PASSWORDReplace the following:
-
REGISTRY_URL: Your OCI registry URL -
REGISTRY_USERNAME: Your Helm registry username -
REGISTRY_PASSWORD: Your Helm registry password
-
-
Upload the Mission Control Helm chart to your private registry:
helm push mission-control-*.tgz REGISTRY_URL/mission-controlReplace
REGISTRY_URLwith the URL of your private registry.
Pull the uploaded chart
After uploading the Mission Control Helm chart to your private registry, follow these steps to pull it for installation in your airgap environment:
-
Pull the Mission Control Helm chart:
helm pull REGISTRY_URL/mission-control \ --version VERSIONReplace the following:
-
REGISTRY_URL: The name of your private registry -
VERSION: The version of Mission Control you want to install The command downloads the chart to your current directory.
-
-
Verify the downloaded chart:
tar -xzf mission-control-*.tgz ls mission-control/The extracted directory contains the chart files, including
Chart.yaml,values.yaml, and thetemplatesdirectory.