Skip to content
Snippets Groups Projects
Verified Commit 577a05eb authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Prefix all commands with namespace

parent d1cc1ac6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment