Skip to content

Private Repos

Follow these steps to provide access to container images stored in the private [Nautilus GitLab][https://gitlab.nrp-nautilus.io] repository.

  1. Go to your repository Settings->Repository->Deploy Tokens, and create a deploy token with read_registry flag enabled.

  2. Follow the instructions for pulling image from private registry. Your registry server your-registry-server will be NRP’s default docker images registry FQDN, identifies as one of

    • gitlab-registry.nrp-nautilus.io
    • gitlab-registry.nrp-nautilus.io/USERNAME/REPONAME

    where USERNAME is your Gitlab user name and REPONAME is your repository.

    Terminal window
    kubectl create -n somenamespace secret docker-registry regcred --docker-server=gitlab-registry.nrp-nautilus.io/somegroup/somerepo --docker-username=gitlab+deploy-token-XXX --docker-password=XXXXXXXXXXXX