diff --git a/deploy/all.sh b/deploy/all.sh index c5d423a2f5112704f529670cb8bf18b8be7d4642..da3b412d55d6fbd78cea1824a71514116a250536 100755 --- a/deploy/all.sh +++ b/deploy/all.sh @@ -18,12 +18,6 @@ # Read deployment settings ######################################################################################################################## -# ----- Redeploy All ------------------------------------------------------------ - -# If not already set, enables all components redeployment -export REDEPLOYALL=${REDEPLOYALL:-""} - - # ----- TeraFlowSDN ------------------------------------------------------------ # If not already set, set the URL of the Docker registry where the images will be uploaded to. diff --git a/deploy/crdb.sh b/deploy/crdb.sh index 6412d13164e1ef6b5fca2dc292b06f59f98cae54..03a6dc5a6afc4ead6601edcdff654760f21e829e 100755 --- a/deploy/crdb.sh +++ b/deploy/crdb.sh @@ -18,11 +18,6 @@ # Read deployment settings ######################################################################################################################## -# ----- Redeploy All ------------------------------------------------------------ -# If not already set, enables all components redeployment -export REDEPLOYALL=${REDEPLOYALL:-""} - - # If not already set, set the namespace where CockroackDB will be deployed. export CRDB_NAMESPACE=${CRDB_NAMESPACE:-"crdb"} @@ -365,7 +360,7 @@ function crdb_drop_database_cluster() { } if [ "$CRDB_DEPLOY_MODE" == "single" ]; then - if [ "$CRDB_REDEPLOY" == "YES" ] || [ "$REDEPLOYALL" == "YES" ]; then + if [ "$CRDB_REDEPLOY" == "YES" ]; then crdb_undeploy_single fi @@ -375,7 +370,7 @@ if [ "$CRDB_DEPLOY_MODE" == "single" ]; then crdb_drop_database_single fi elif [ "$CRDB_DEPLOY_MODE" == "cluster" ]; then - if [ "$CRDB_REDEPLOY" == "YES" ] || [ "$REDEPLOYALL" == "YES" ]; then + if [ "$CRDB_REDEPLOY" == "YES" ]; then crdb_undeploy_cluster fi diff --git a/deploy/nats.sh b/deploy/nats.sh index 57fda629cf9a1cb62cf5100ba609147bb92168fc..1bad13f02359af60ad94b2f94a341bf05d07624c 100755 --- a/deploy/nats.sh +++ b/deploy/nats.sh @@ -18,10 +18,6 @@ # Read deployment settings ######################################################################################################################## -# ----- Redeploy All ------------------------------------------------------------ -# If not already set, enables all components redeployment -export REDEPLOYALL=${REDEPLOYALL:-""} - # If not already set, set the namespace where NATS will be deployed. export NATS_NAMESPACE=${NATS_NAMESPACE:-"nats"} @@ -224,7 +220,7 @@ function nats_undeploy() { echo } -if [ "$NATS_REDEPLOY" == "YES" ] || [ "$REDEPLOYALL" == "YES" ]; then +if [ "$NATS_REDEPLOY" == "YES" ]; then nats_undeploy fi diff --git a/deploy/qdb.sh b/deploy/qdb.sh index 513ef9ae01f63dc31b31ee076e6fc9537ffbc1b1..acbcfd4f96ccbd2b09d5d82f66a1bf801a710780 100755 --- a/deploy/qdb.sh +++ b/deploy/qdb.sh @@ -18,10 +18,6 @@ # Read deployment settings ######################################################################################################################## -# ----- Redeploy All ------------------------------------------------------------ -# If not already set, enables all components redeployment -export REDEPLOYALL=${REDEPLOYALL:-""} - # If not already set, set the namespace where QuestDB will be deployed. export QDB_NAMESPACE=${QDB_NAMESPACE:-"qdb"} @@ -181,7 +177,7 @@ function qdb_drop_tables() { echo } -if [ "$QDB_REDEPLOY" == "YES" ] || [ "$REDEPLOYALL" == "YES" ]; then +if [ "$QDB_REDEPLOY" == "YES" ]; then qdb_undeploy fi diff --git a/my_deploy.sh b/my_deploy.sh index 991c21e711618d0c33f891051a84deb4b8479a93..956d1b65423aaa20eb5acc4b1259afe6736242d1 100755 --- a/my_deploy.sh +++ b/my_deploy.sh @@ -13,12 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# ----- Redeploy All ------------------------------------------------------------ - -# If not already set, enables all components redeployment -export REDEPLOYALL="" - - # ----- TeraFlowSDN ------------------------------------------------------------ # Set the URL of the internal MicroK8s Docker registry where the images will be uploaded to.