8 lines
271 B
Bash
Executable file
8 lines
271 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source env.txt
|
|
kubectl -n status-reporter delete deploy status-reporter
|
|
GO111MODULE=off ko apply -f config/
|
|
kubectl apply -f secret.yaml
|
|
sleep 10
|
|
kubectl -n status-reporter logs -f $(kubectl -n status-reporter get pod -ojsonpath='{.items[0].metadata.name}')
|