added readme

This commit is contained in:
ston1th 2019-12-01 01:04:29 +01:00
commit 523fdec5ce
8 changed files with 22 additions and 7 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash
source env
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[*].metadata.name}')
kubectl -n pvc-reaper logs -f $(kubectl -n pvc-reaper get pod -ojsonpath='{.items[0].metadata.name}')