New attempt at fixing CI and Docker TLS

2 jobs for master in 2 minutes and 58 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Build
passed #96067
k8s
build

00:02:40

 
  Deploy
failed #96068
k8s
deploy

00:00:17

 
Name Stage Failure
failed
deploy Deploy
  gettext-libs.x86_64 0:0.19.8.1-3.el7                                          

Complete!
$ kubectl delete secret registry-gitlab -n $NAMESPACE --ignore-not-found=true
$ kubectl create secret docker-registry -n $NAMESPACE registry-gitlab --docker-server=registry-gitlab.pasteur.fr --docker-username=$DEPLOY_USER --docker-password=$DEPLOY_TOKEN --docker-email=hmenager@pasteur.fr
secret/registry-gitlab created
$ envsubst < manifest.yaml | kubectl apply -f -
error: error validating "STDIN": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec; if you choose to ignore these errors, turn validation off with --validate=false
ERROR: Job failed: command terminated with exit code 1