Immuta in an Air-Gapped Environment
This page provides one possible way to download and package Immuta artifacts for consumption on a separate network with no Internet access.
export IMMUTA_VERSION=2024.2.20
export IMMUTA_IMAGES="audit-service audit-export-cronjob cache classify-service immuta-service"
export IMMUTA_LEGACY_IMAGES="immuta-db immuta-fingerprint"
for image in ${IMMUTA_IMAGES} ${IMMUTA_LEGACY_IMAGES}; do
skopeo copy docker://ocir.immuta.com/stable/${image}:${IMMUTA_VERSION} docker-archive://${PWD}/${image}-${IMMUTA_VERSION}.tar;
doneCopy the snippet below and replace the placeholder text with the credentials provided by your Immuta representative:
echo <token> | helm registry login --password-stdin --username <username> ocir.immuta.comDownload the IEHC for the current Immuta release:
helm pull oci://ocir.immuta.com/stable/immuta-enterprise --version 2024.2.20
export PRIVATE_REGISTRY=your.private-registry.com
export IMMUTA_VERSION=2024.2.20
export IMMUTA_IMAGES="audit-service audit-export-cronjob cache classify-service immuta-service"
export IMMUTA_LEGACY_IMAGES="immuta-db immuta-fingerprint"
for image in ${IMMUTA_IMAGES} ${IMMUTA_LEGACY_IMAGES}; do
skopeo copy docker-archive://${PWD}/${image}-${IMMUTA_VERSION}.tar docker://${PRIVATE_REGISTRY}/immuta/${image}:${IMMUTA_VERSION};
donehelm upgrade --install immuta ./immuta-enterprise-2024.2.20.tgz -f immuta-values.yamlPrerequisite
Checklist
Skopeo
Helm
Download artifacts
This section demonstrates how to download the Helm chart and container images to your local machine. These artifacts will be packaged and transferred to the air-gapped environment later.
Create a directory named
offline-kit.mkdir ./offline-kitDownload the Helm chart into directory
offline-kit.helm pull oci://ocir.immuta.com/stable/immuta-enterprise --destination ./offline-kit --version 2024.3.9Extract file
DIGESTS.mdfrom the Helm chart archive.tar --extract --gzip --strip-components=1 --directory=./offline-kit --file=./immuta-enterprise-*.tgz immuta-enterprise/DIGESTS.mdOpen file
./offline-kit/DIGESTS.md. This file includes the name and digest of every container image referenced by the Helm chart.Download each image listed in file
DIGESTS.mdusing skopeo. Each image will be saved to directoryoffline-kitwith the filename<name>-<tag>.tar.read -r -p "Enter the container image to download (e.g., docker.io/hello-world:latest):" image && \ skopeo copy docker://"$image" docker-archive:"offline-kit/$(sed 's#.*/##; s#:#-#g' <<< "$image").tar"
Transfer artifacts
This section demonstrates how to push the previously archived container images to a private registry that's accessible from within your air-gapped environment.
Transfer directory
offline-kit(created in the previous section) onto a machine that's within your air-gapped environment.Push each image to your private registry using skopeo.
skopeo copy docker-archive:offline-kit/<name>-<tag>.tar docker://<private-registry-fqdn>/immuta/<name>:<tag>
Chart installation
Edit the immuta-values.yaml to reference the private container registry and images.
Last updated
Was this helpful?

