All checks were successful
/ build-host (map[host:beefcake]) (push) Successful in 33s
/ build-host (map[host:dragon]) (push) Successful in 45s
/ build-host (map[host:flipflop]) (push) Successful in 40s
/ build-host (map[host:foxtrot]) (push) Successful in 45s
/ build-host (map[host:rascal]) (push) Successful in 19s
/ build-host (map[host:router]) (push) Successful in 24s
/ build-host (map[host:steamdeck]) (push) Successful in 42s
/ build-devshell (push) Successful in 18s
/ flake-check (push) Successful in 5m48s
12 lines
244 B
Bash
Executable file
12 lines
244 B
Bash
Executable file
#!/usr/bin/env sh
|
|
has_command kubectl || {
|
|
echo "kubectl command not found"
|
|
exit 1
|
|
}
|
|
|
|
kubectl get namespaces --show-labels | \
|
|
uniq | \
|
|
sort | \
|
|
cut -d ' ' -f1 | \
|
|
fzf | \
|
|
xargs -I{} kubectl config set-context --current --namespace='{}'
|