Skip to main content

Offline

Configuring CI without direct internet access

When GitLab CI runners have no direct internet acces, you can configure variables to sync images to an internal GitLab, as documented in the kubitus-images repo.

Then, configure the following CI/CD variables:

Environment variableDescriptionDefault value
OFFLINE_IMAGES_MIRROR_PREFIXPrefix to images. Example: gitlab-registry.k8s.example.org/external-registries/""
TRIVY_INSECURESet to true to disable certificate verificationnot set, i.e false