themblem/api/scripts/prod-shell
2024-09-01 21:51:50 +01:00

4 lines
189 B
Bash
Executable File

#!/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