From 47f350bc3aa85a8bd406d95faf084df2abf74ae9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 18 Mar 2018 22:59:31 +0100 Subject: Second revision: includes hostpath mounts, gluster block storage, kaas apps, etc. --- setup.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'setup.sh') diff --git a/setup.sh b/setup.sh index 69293aa..a5f49b9 100755 --- a/setup.sh +++ b/setup.sh @@ -55,6 +55,18 @@ case "$action" in [ -n "$project" ] || { usage 'project name should be specified...' ; exit 1; } apply playbooks/openshift-setup-project.yml --extra-vars "ands_configure_project=$project" "$@" || exit 1 ;; + apps) + [ -n "$1" ] || { usage 'project name should be specified...' ; exit 1; } + + vars="ands_configure_project=$1" + shift + + if [[ -n "$1" && ${1:0:1} != "-" ]]; then + vars="$vars,ands_configure_app=$1" + shift + fi + apply playbooks/openshift-setup-apps.yml --extra-vars "$vars" "$@" || exit 1 + ;; openshift-masters) apply playbooks/openshift-add-masters.yml "$@" || exit 1 ;; @@ -99,6 +111,9 @@ case "$action" in upgrade) apply playbooks/openshift-upgrade.yml "$@" || exit 1 ;; + health) + apply playbooks/openshift-health.yml "$@" || exit + ;; maintain) apply playbooks/maintain.yml "$@" || exit ;; -- cgit v1.2.1