@@ -6,7 +6,7 @@ CLEANUP_ON_SUCCESS=${CLEANUP_ON_SUCCESS:=false}
66REGION=" ${REGION:= eu-de} "
77NAME_PREFIX=" ${NAME_PREFIX:= ce-fleet-sandbox} "
88SETUP_LOGGING=" ${SETUP_LOGGING:- true} "
9- SETUP_MONITORING=" ${SETUP_MONITORING:- true } "
9+ SETUP_MONITORING=" ${SETUP_MONITORING:- false } "
1010
1111
1212# Generate a short uuid for some resources
@@ -41,7 +41,7 @@ function clean() {
4141 target_region $REGION
4242 target_resource_group $resource_group_name
4343
44- rm -rf .rclone *
44+ rm -rf .rclone_ ${resource_group_name} .conf
4545
4646 if [[ " $SETUP_MONITORING " == " true" ]]; then
4747 ibmcloud resource service-key-delete ${sysdig_key_name} -f -q 2> /dev/null
@@ -126,14 +126,15 @@ print_msg "\n======================================================"
126126print_msg " Setting up \" Code Engine Serverless Fleet\" sample"
127127print_msg " ======================================================\n"
128128
129- if [[ " $SETUP_LOGGING " != " true" || " $SETUP_MONITORING " != " true" ]]; then
129+ # if [[ "$SETUP_LOGGING" != "true" || "$SETUP_MONITORING" != "true" ]]; then
130+ if [[ " $SETUP_LOGGING " != " true" ]]; then
130131 print_msg " ATTENTION: You requested to setup a fleet sandbox without : \n"
131132 if [[ " $SETUP_LOGGING " != " true" ]]; then
132133 print_msg " - logging support \n"
133134 fi
134- if [[ " $SETUP_MONITORING " != " true" ]]; then
135- print_msg " - monitoring support \n"
136- fi
135+ # if [[ "$SETUP_MONITORING" != "true" ]]; then
136+ # print_msg " - monitoring support \n"
137+ # fi
137138 print_msg " Do you really want to continue setup without these services? They cannot be added later \n"
138139 read -p " Continue [y|n]? " yn
139140 case $yn in
0 commit comments