4 lines
214 B
Bash
Executable File
4 lines
214 B
Bash
Executable File
#!/bin/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"
|