Skip to content

Deploy registry credentials before deploying functons

Description

This merge request deploys GitLab Registry credentials to Knative cluster before deploying serverless functions.

We need that because Knative will need to pull images from the registry, and in case of a private project a token is needed.

This replaces following command:

tm -n "$KUBE_NAMESPACE" set registry-auth gitlab-registry --registry "$CI_REGISTRY" --username "$CI_DEPLOY_USER" --password "$CI_DEPLOY_PASSWORD" --pull
Edited by Grzegorz Bizon

Merge request reports