diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ac9e1617e95a5d3e1802a35e500f57d7be50783c..1fdc178203f00a8328fa323f2175ef226f00cb5e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,9 +30,9 @@ production_deploy:
   image: alpine/k8s:1.28.2
   script:
   - kubectl config use-context frank/tls-tracking:cumulus-agent
-  - kubectl apply -n "$NAMESPACE" -f kubernetes.yaml
-  - kubectl wait --for=condition=ready pod -l app=tls-tracking
-  - kubectl cp public deploy/tls-tracking-webserver:/var/www/
+  - kubectl -n $NAMESPACE apply -f kubernetes.yaml
+  - kubectl -n $NAMESPACE wait --for=condition=ready pod -l app=tls-tracking
+  - kubectl -n $NAMESPACE cp public deploy/tls-tracking-webserver:/var/www/
 
   environment:
     name: Production