From 25c1b78e9dd50533dca6a8ed3ad64d1f2e935765 Mon Sep 17 00:00:00 2001 From: kiloreux Date: Thu, 11 Jan 2018 12:24:40 +0100 Subject: [PATCH] Not literal --- .infra/kube/tusd-kube.yaml | 1 - .scripts/deploy_gcloud.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.infra/kube/tusd-kube.yaml b/.infra/kube/tusd-kube.yaml index 8f1a6b0..63a8e15 100644 --- a/.infra/kube/tusd-kube.yaml +++ b/.infra/kube/tusd-kube.yaml @@ -11,7 +11,6 @@ spec: nfs: server: NFS_SERVER_IP path: "/tusd" - --- kind: PersistentVolumeClaim apiVersion: v1 diff --git a/.scripts/deploy_gcloud.sh b/.scripts/deploy_gcloud.sh index b2b45b4..55147cb 100755 --- a/.scripts/deploy_gcloud.sh +++ b/.scripts/deploy_gcloud.sh @@ -30,7 +30,7 @@ kubectl config set-credentials travis --token=$SA_TOKEN kubectl config set-context travis --cluster=$CLUSTER_NAME --user=travis --namespace=tus kubectl config use-context travis -sed -i 's#NFS_SERVER_IP#${NFS_SERVER_IP}#' ./.infra/kube/*.yaml +sed -i "s#NFS_SERVER_IP#${NFS_SERVER_IP}#" ./.infra/kube/*.yaml kubectl apply --validate=false -f "${__root}/.infra/kube/tusd-kube.yaml"