Installation
Bundle Artifacts in Connected Environment
In a connected environment, utilize the Hauler
CLI to verify and collect the Rancher Government images and helm chart from the Carbide Secured Registry.
-
Download the public key for Carbide.
curl -sfL https://raw.githubusercontent.com/rancherfederal/carbide-releases/main/carbide-key.pub -o /tmp/carbide-key.pub
-
Login into the Carbide registry with your Carbide Credentials, then validate and fetch the images to the local
Hauler
store. Add the Rancher helm chart to your store, and save store as a tarball.hauler login rgcrprod.azurecr.us -u <redacted> -p <redacted>
hauler store sync --products rancher-government=v2.10.3 --key carbide-key.pub
hauler store add chart rancher --repo https://rancherfederal.github.io/carbide-charts --version 2.10.3
hauler store save --filename rancher-govt.tar.zst -
Move the resulting
rancher-govt.tar.zst
file into your airgapped/classified environment.
Copy Files to Your Classified Registry
-
Copy the
rancher-govt.tar.zst
and theHauler
binary to a server in your airgapped/classified environment. Please ensureHauler
is added to your PATH. -
Log in to your registry, load the bundle to the local store, and copy the images to your registry.
hauler login <registry-url> -u <redacted> -p <redacted>
hauler store load rancher-govt.tar.zst
hauler store copy registry://<registry-url>
Rancher Government Helm Chart
-
Add and update the helm repository.
helm repo add carbide-charts https://rancherfederal.github.io/carbide-charts
helm repo update carbide-charts -
Update the values for your environment and set the rancherImageTag with the
-carbide-*
tag.helm install rancher carbide-charts/rancher \
--namespace cattle-system \
--set hostname=<rancher.my.org> \
--set bootstrapPassword=admin \
--set rancherImageTag=v2.10.3-carbide-1 \
--set carbide.whitelabel.enabled=false \
--version=v2.10.3
Upgrade Your Rancher Installation
-
Add and update the helm repository.
helm repo add carbide-charts https://rancherfederal.github.io/carbide-charts
helm repo update carbide-charts -
Get existing values.
helm get values -n cattle-system rancher > /tmp/values.yaml
-
Update values for your environment and set rancherImageTag with the
-carbide-*
tag.helm upgrade rancher carbide-charts/rancher \
--namespace cattle-system \
-f /tmp/values.yaml \
--set rancherImageTag=v2.10.3-carbide-1 \
--set carbide.whitelabel.enabled=false \
--version=v2.10.3
For more information about airgapped installation of Rancher, see the docs here.