After reading Use Docker to build Docker images | GitLab I implemented DIND like so Avoiding Kubernetes waiting for pods now I’m concerned I will fail a security audit.
It seems only sensible to use a Dockerfile to produce an artifact with Gitlab runner CI/CD, but after reading Why A Privileged Container in Docker Is a Bad Idea I am not so sure. Since the the cluster our CI/CD runners are on, the host machines also deploy to production and such.
Have I architected the cluster incorrectly?