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

Set global namespace

parent 7e5b61f7
No related branches found
No related tags found
No related merge requests found
...@@ -29,10 +29,11 @@ production_deploy: ...@@ -29,10 +29,11 @@ production_deploy:
image: alpine/k8s:1.28.2 image: alpine/k8s:1.28.2
script: script:
- kubectl config use-context frank/tls-tracking:cumulus-agent - kubectl config use-context frank/tls-tracking:cumulus-agent
- kubectl -n $NAMESPACE apply -f "$AWS_ROUTE53_CREDS" - kubectl config set-context --current --namespace $NAMESPACE
- kubectl -n $NAMESPACE apply -f kubernetes.yaml - kubectl apply -f "$AWS_ROUTE53_CREDS"
- kubectl -n $NAMESPACE wait --for=condition=ready pod -l app=tls-tracking-webserver - kubectl apply -f kubernetes.yaml
- kubectl -n $NAMESPACE cp public $(kubectl -n $NAMESPACE get pod -l app=tls-tracking-webserver -o name):/var/www/ - 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: environment:
name: Production 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