fog/justfile
2025-05-19 11:38:26 -06:00

17 lines
497 B
Makefile

update:
bws run 'helmfile deps'
deploy ARGS='--output simple -i':
bws run 'helmfile apply {{ARGS}}'
sdiff ARGS='':
bws run 'helmfile diff --output simple'
ddiff ARGS='':
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)"'"}}}}'