Expose DOCKER_INSECURE env var
What does this MR do?
This MR exposes the DOCKER_INSECURE
flag provided by klar. This will allow the container scanning tool to interact with Docker registries over HTTPS when the SSL certificate is bad (or self-signed).
This will help simplify the documentation for running container scanning on a local Docker registry, which is being updated by gitlab-org/gitlab-development-kit!1059 (merged).
It will also make container scanning more flexible, since it'll be possible to use it on a self hosted registry with a self-signed SSL certificate, which may be useful for air-gapped installations.
What are the relevant issue numbers?
gitlab-org/gitlab#204737 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Adam Cohen