I have an OpenShift Cluster running where I am trying to build a simple nodejs Dockerimage using the Docker BuildConfiguration strategy. Unfortunately, it fails when starting the first init-container (git-clone), as it expects a ca.crt
Error setting up cluster CA cert: open /var/run/secrets/kubernetes.io/serviceaccount/ca.crt: no such file or directory
It is a Docker-Build strategy, so I am not sure why it uses the git-clone init-step to begin with. I assume that the step expects a certificate for the git-repository or something like that.
There actually were two problems.