Move and improve scripts/prod-shell
This commit is contained in:
parent
1b5245bbd7
commit
3295a88a3e
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
podname=$(kubectl --kubeconfig deploy/kubeconfig.themblem get po | head -n 1 | grep -Eo 'api-[^ ]*')
|
||||
exec kubectl --kubeconfig deploy/kubeconfig.themblem exec -ti $podname bash
|
||||
podname=$(kubectl --kubeconfig deploy/kubeconfig.themblem get po | grep -Eo 'api-[^ ]*' -m 1 )
|
||||
exec kubectl --kubeconfig deploy/kubeconfig.themblem exec -ti $podname -- bash -c "cd /emblem/api && bash"
|
||||
Loading…
x
Reference in New Issue
Block a user