From 578d6885378fe5f064ee99da076d7e7dabeec20a Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 18 Mar 2025 20:31:25 +0100 Subject: [PATCH] Remove the now unused bgas command --- functions/bgas.fish | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 functions/bgas.fish diff --git a/functions/bgas.fish b/functions/bgas.fish deleted file mode 100644 index 737f4a9..0000000 --- a/functions/bgas.fish +++ /dev/null @@ -1,31 +0,0 @@ -function bgas - set -l context (kubectl config current-context) - set -l cline - getopts $argv | while read -l key value - switch $key - case c - set context $value - case _ - set cline $cline $value - end - end - - set -l pod ( - kubectl --context=$context --namespace=apps get pod -lapp=accounts-service,instance=app -o json | - jq -r '.items[].metadata.name' | - shuf | - head -1 - ) - - if test -z "$pod" - echo "No pod found. Are you using the correct context?" - - return 1 - end - - kubectl \ - --context=$context \ - --namespace=apps \ - exec -ti $pod -- \ - env SKIP_MIGRATION=yes ./docker-entrypoint.sh poetry run -- python3 -m assured_seal $cline -end