From 79803846dfca997b35dca60035b6e3fed69c9e86 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Wed, 22 Apr 2020 13:42:56 -0400 Subject: [PATCH] fix envsubst --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b1db2b..6e0c7aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 - \ No newline at end of file + - echo $(envsubst < k8s/deploy.yml) > k8s/deploy.yaml + - cat k8s/deploy.yaml + - kubectl apply -f k8s/ \ No newline at end of file