diff --git a/hollaex b/hollaex index 4cd1454..1a63b5c 100755 --- a/hollaex +++ b/hollaex @@ -1441,6 +1441,11 @@ elif [[ "$1" == "setup" ]]; then echo "Skipping the command confirmation." shift; continue ;; + --no_db_init) + NO_DB_INIT=true + echo "Skipping to initialize the db." + shift; continue + ;; --ignore_compatibility_check) IGNORE_COMPATIBILITY_CHECK=true echo "Warning: HollaEx CLI will ignore all compatibility checkes for HollaEx Core and Kit." @@ -1767,7 +1772,7 @@ elif [[ "$1" == "setup" ]]; then run_and_upgrade_hollaex_on_kubernetes - fi + fi if [[ "$ENVIRONMENT_KUBERNETES_S3_BACKUP_CRONJOB_ACCESSKEY" ]] && [[ "$ENVIRONMENT_KUBERNETES_S3_BACKUP_CRONJOB_SECRETKEY" ]]; then diff --git a/tools_generator.sh b/tools_generator.sh index ab13a1c..e2c6697 100644 --- a/tools_generator.sh +++ b/tools_generator.sh @@ -4905,8 +4905,16 @@ function run_and_upgrade_hollaex_on_kubernetes() { if [[ "$HOLLAEX_IS_SETUP" == true ]]; then - # Running database job for Kubernetes - kubernetes_database_init launch; + if [[ "$NO_DB_INIT" ]]; then + + echo "Skipping the db initialization" + + else + + # Running database job for Kubernetes + kubernetes_database_init launch; + + fi else diff --git a/version b/version index 62e6420..48a6b50 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.4.6 \ No newline at end of file +2.4.7 \ No newline at end of file