kjuulh
31d7ef27a8
Add bin/docker-traverse.sh Add bin/exec-sanity.sh Add bin/lunardev.sh Add bin/record.sh Add bin/restart-builds-drone.sh Add bin/run-dosier.sh Add bin/sanity.sh Add bin/scan-for-bad-indexes.sh Add bin/ssh-agent.sh Add bin/terraform.sh Add bin/tmux.sh Add bin/update-vault.sh Add bin/zimfwupdate.sh
14 lines
199 B
Bash
14 lines
199 B
Bash
#!/usr/bin/env zsh
|
|
|
|
function sanity() {
|
|
env=${1:-dev}
|
|
|
|
k8s "$env"
|
|
|
|
pod=$(k get pods -n "$env" | rg sanity | rg -v mesh | awk '{print $1}')
|
|
|
|
echo "$pod"
|
|
|
|
k exec "$pod" -it -n "$env" -- sh
|
|
}
|