chezmoi/bin/executable_sanity.sh
2023-08-21 12:52:10 +02:00

14 lines
206 B
Bash

#!/usr/bin/env zsh
function sanity() {
env=${1:-dev}
k8s "$env"
pod=$(k get pods -n "$env" | rg sanity-checks | rg -v mesh | awk '{print $1}')
echo "$pod"
k exec "$pod" -it -n "$env" -- sh
}