diff --git a/configuration/scripts/mapVarsToConfigs.sh b/configuration/scripts/mapVarsToConfigs.sh index e45ea5d..12df3e0 100755 --- a/configuration/scripts/mapVarsToConfigs.sh +++ b/configuration/scripts/mapVarsToConfigs.sh @@ -5,10 +5,10 @@ APPLICATION_NAME=$2 APPLICATION_VERSION=$3 APPLICATION_LABEL=$4 -sh "sed -i 's/REPOSITORY/${DOCKER_REPOSITORY}/g' configuration/kubernetes/deployment.yaml" -sh "sed -i 's/IMAGE/${APPLICATION_NAME}:${APPLICATION_VERSION}/g' configuration/kubernetes/deployment.yaml" -sh "sed -i 's/RESOURCE_NAME/${APPLICATION_NAME}/g' configuration/kubernetes/deployment.yaml" -sh "sed -i 's/LABEL/${APPLICATION_LABEL}/g' configuration/kubernetes/deployment.yaml" +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 +sed -i 's/LABEL/${APPLICATION_LABEL}/g' configuration/kubernetes/deployment.yaml -sh "sed -i 's/RESOURCE_NAME/${APPLICATION_NAME}/g' configuration/kubernetes/service.yaml" -sh "sed -i 's/LABEL/${APPLICATION_LABEL}/g' configuration/kubernetes/service.yaml" \ No newline at end of file +sed -i 's/RESOURCE_NAME/${APPLICATION_NAME}/g' configuration/kubernetes/service.yaml +sed -i 's/LABEL/${APPLICATION_LABEL}/g' configuration/kubernetes/service.yaml \ No newline at end of file