#!/usr/bin/env bash DOCKER_REPOSITORY=$1 APPLICATION_NAME=$2 APPLICATION_VERSION=$3 APPLICATION_LABEL=$4 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 sed -i "s/RESOURCE_NAME/${APPLICATION_NAME}/g" configuration/kubernetes/service.yaml sed -i "s/LABEL/${APPLICATION_LABEL}/g" configuration/kubernetes/service.yaml