Dmytro Dovbii 7cb39996f0 Restructure murano-apps repository
Change-Id: I9cdb1e4afcb9929c7b7a5437faaa25d284daefdb
Closes-Bug: #1441644
2015-04-14 09:42:21 +03:00

9 lines
334 B
Bash

#!/bin/bash
if [ "$1" == "True" ]; then
echo "Creating a new Replication Controller" >> /tmp/murano-kube.log
/opt/bin/kubectl create -f /tmp/controller.json >> /tmp/murano-kube.log
else
echo "Updating a Replication Controller" >> /tmp/murano-kube.log
/opt/bin/kubectl update -f /tmp/controller.json >> /tmp/murano-kube.log
fi