Skip to content

Fix configmap namespaces to support any gitlab agent namespace

Nick Ilieskou requested to merge fix/configmapNamespaces into main

What does this MR do?

It creates configmaps on the same namespace as the gitlab-agent. We should not be using a hardcoded value since a gitlab-agent pod can be defined in any namespace. We should be using the gitlab agent namespace which is an input for the analyzer.

Why are we doing this?

This is a bug fix. We were by default creating configmaps on the gitlab-agent namespace.

Edited by Nick Ilieskou

Merge request reports