From 12bcabf7b29dbdb163e0139f0cb7d5cc8e683afc Mon Sep 17 00:00:00 2001 From: Grant <5445379+grantdhunter@users.noreply.github.com> Date: Mon, 19 May 2025 11:38:26 -0600 Subject: [PATCH] Add pg restart script to just --- justfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index b336e68..993efa1 100644 --- a/justfile +++ b/justfile @@ -8,8 +8,10 @@ sdiff ARGS='': bws run 'helmfile diff --output simple' ddiff ARGS='': - bws run 'helmfile diff --output dyff' + bws run 'helmfile diff --output dyff {{ARGS}}' cleanuppods: kubectl get pods --no-headers | grep -v Running | awk '{print $1}' | xargs kubectl delete pod +pgrestart: + kubectl patch postgrescluster/postgres --type merge --patch '{"spec":{"metadata":{"annotations":{"restarted":"'"$(date)"'"}}}}' \ No newline at end of file