read secret from k8s

This commit is contained in:
ston1th 2019-12-04 17:42:30 +01:00
commit b22355d2a5
12 changed files with 583 additions and 85 deletions

8
build.sh Executable file
View file

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