Fix path to deployment.yaml
Change-Id: I9f154f15e80047ad10a5f8fcc8d4246f9edc5f4c
This commit is contained in:
parent
82ae302f0e
commit
d9e98d8e5a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue