themblem/scripts/prod-shell
2025-03-02 09:33:43 +00:00

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"