10 lines
246 B
Bash
Executable file
10 lines
246 B
Bash
Executable file
#!/bin/sh
|
|
# Nico Schottelius, 2023-06-09
|
|
# Enter the ceph toolbox
|
|
|
|
if [ -z "$@" ]; then
|
|
set -- -c bird -- birdc
|
|
fi
|
|
set -x
|
|
|
|
kubectl exec -ti $(kubectl get pods -l app.kubernetes.io/component=bird -o jsonpath='{.items[*].metadata.name}') "$@"
|