webhook-interceptor/build.sh
2019-12-14 14:48:41 +01:00

9 lines
308 B
Bash
Executable file

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