Move Cluster Image Scanning analyzer to security-products namespace
Why are we doing this work
We need to update the Cluster Image Scanning analyzer to publish its images in registry.gitlab.com/security-products/cluster-image-scanning
instead of registry.gitlab.com/gitlab-org/security-products/analyzers/cluster-image-scanning
. See #297525 (closed) (confidential) for rationale.
Relevant links
Implementation plan
-
Create https://gitlab.com/security-products/cluster-image-scanning -
backend Update ci-templates to allow the image name to be configured via a variable. e.g.
variables: ANALYZER_IMAGE_NAME: $CI_REGISTRY_IMAGE # in .docker_tag job - export TARGET_IMAGE=$CI_REGISTRY_IMAGE:${IMAGE_TAG:-$CI_JOB_NAME}
-
backend Set variable in cluster-image-scanning .gitlab-ci.yml to begin publishing images to new location. -
backend Mirror the existing versions to the new registry (pull and then push) -
backend Change the default CIS_ANALYZER_IMAGE
in Cluster-Image-Scanning.gitlab-ci.yml to point to the new registry location
Edited by Alan (Maciej) Paruszewski