New attempt at fixing CI and Docker TLS

2 jobs for master in 2 minutes and 58 seconds (queued for 4 seconds)
Name Stage Failure
deploy Deploy
  gettext-libs.x86_64 0:                                          

$ kubectl delete secret registry-gitlab -n $NAMESPACE --ignore-not-found=true
$ kubectl create secret docker-registry -n $NAMESPACE registry-gitlab --docker-username=$DEPLOY_USER --docker-password=$DEPLOY_TOKEN
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