fix envsubst

This commit is contained in:
ducoterra
2020-04-22 13:42:56 -04:00
parent 2edd1c6c4c
commit 79803846df

View File

@@ -33,4 +33,6 @@ pods:
- apt update && apt install -y curl
- curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
- chmod +x ./kubectl
- envsubst < deploy.yml | kubectl apply -f -
- echo $(envsubst < k8s/deploy.yml) > k8s/deploy.yaml
- cat k8s/deploy.yaml
- kubectl apply -f k8s/