From dbc6bcd11eda140b7ee6013531e8c2fbf0f71cc0 Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Wed, 19 Feb 2020 16:43:52 +0000 Subject: [PATCH] [19.02.20] Test sed of deployment --- configuration/scripts/mapVarsToConfigs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configuration/scripts/mapVarsToConfigs.sh b/configuration/scripts/mapVarsToConfigs.sh index 12df3e0..31c3800 100755 --- a/configuration/scripts/mapVarsToConfigs.sh +++ b/configuration/scripts/mapVarsToConfigs.sh @@ -5,6 +5,8 @@ APPLICATION_NAME=$2 APPLICATION_VERSION=$3 APPLICATION_LABEL=$4 +pwd + sed -i 's/REPOSITORY/${DOCKER_REPOSITORY}/g' configuration/kubernetes/deployment.yaml sed -i 's/IMAGE/${APPLICATION_NAME}:${APPLICATION_VERSION}/g' configuration/kubernetes/deployment.yaml sed -i 's/RESOURCE_NAME/${APPLICATION_NAME}/g' configuration/kubernetes/deployment.yaml