pvc-reaper/build.sh
2019-12-01 01:04:29 +01:00

7 lines
205 B
Bash
Executable file

#!/bin/bash
source env.txt
kubectl -n pvc-reaper delete deploy pvc-reaper
ko apply -f config/
sleep 5
kubectl -n pvc-reaper logs -f $(kubectl -n pvc-reaper get pod -ojsonpath='{.items[0].metadata.name}')