1
0
Fork 0

Fix path to deployment.yaml

Change-Id: I9f154f15e80047ad10a5f8fcc8d4246f9edc5f4c
This commit is contained in:
Taavi Väänänen 2021-05-25 09:59:00 +03:00
parent 82ae302f0e
commit d9e98d8e5a
No known key found for this signature in database
GPG key ID: EF242F709F912FBE

View file

@ -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