Skip to content

Commit

Permalink
Fix .kube paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram committed Jan 5, 2020
1 parent e915298 commit 433d997
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export COMMIT_TAG=$COMMIT_TAG
# since the only way for envsubst to work on files is using input/output redirection,
# it's not possible to do in-place substitution, so we need to save the output to another file
# and overwrite the original with that one.
envsubst <../.kube/manifest.yml >../.kube/manifest.yml.out
mv ../.kube/manifest.yml.out ../.kube/manifest.yml
envsubst <./.kube/manifest.yml >./.kube/manifest.yml.out
mv ./.kube/manifest.yml.out ./.kube/manifest.yml

echo "$K8S_CLUSTER_CERTIFICATE" | base64 --decode > cert.crt

Expand All @@ -20,4 +20,4 @@ echo "$K8S_CLUSTER_CERTIFICATE" | base64 --decode > cert.crt
--server=$K8S_SERVER \
--certificate-authority=cert.crt \
--token=$K8S_TOKEN \
apply -f ../.kube/
apply -f ./.kube/

0 comments on commit 433d997

Please sign in to comment.