diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e958a4e6740a68a92fe8e8b520bd7f8c07224100..dc42a753c4ec0c3a10b7aba0ed937ac07960953e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,10 +29,11 @@ production_deploy:
   image: alpine/k8s:1.28.2
   script:
   - kubectl config use-context frank/tls-tracking:cumulus-agent
-  - kubectl -n $NAMESPACE apply -f "$AWS_ROUTE53_CREDS"
-  - kubectl -n $NAMESPACE apply -f kubernetes.yaml
-  - kubectl -n $NAMESPACE wait --for=condition=ready pod -l app=tls-tracking-webserver
-  - kubectl -n $NAMESPACE cp public $(kubectl -n $NAMESPACE get pod -l app=tls-tracking-webserver -o name):/var/www/
+  - kubectl config set-context --current --namespace $NAMESPACE
+  - kubectl apply -f "$AWS_ROUTE53_CREDS"
+  - kubectl apply -f kubernetes.yaml
+  - kubectl wait --for=condition=ready pod -l app=tls-tracking-webserver
+  - kubectl cp public $(kubectl get pod -l app=tls-tracking-webserver -o name):/var/www/
 
   environment:
     name: Production