From d9e98d8e5a4f34efa4a89fa5520d8cde2c71ce23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taavi=20V=C3=A4=C3=A4n=C3=A4nen?= Date: Tue, 25 May 2021 09:59:00 +0300 Subject: [PATCH] Fix path to deployment.yaml Change-Id: I9f154f15e80047ad10a5f8fcc8d4246f9edc5f4c --- toolforge/manage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolforge/manage.sh b/toolforge/manage.sh index 0684f4f..12beed9 100755 --- a/toolforge/manage.sh +++ b/toolforge/manage.sh @@ -9,7 +9,7 @@ POD_NAME=ircservserv APP_DIR=/data/project/ircservserv/ircservserv CONFIG_DIR=/data/project/ircservserv/ircservserv-config -CONFIG=${CONFIG_DIR}/toolforge/deployment.yaml +DEPLOYMENT_FILE=${CONFIG_DIR}/toolforge/deployment.yaml KUBECTL=/usr/bin/kubectl @@ -22,7 +22,7 @@ _get_pod() { case "$1" in start) echo "Starting ircservserv k8s deployment..." - $KUBECTL create --validate=true -f ${CONFIG_DIR}/deployment.yaml + $KUBECTL create --validate=true -f ${DEPLOYMENT_FILE} ;; run) date +%Y-%m-%dT%H:%M:%S