From 5f08a1aca27d03976c369a35dc06560e3963de40 Mon Sep 17 00:00:00 2001 From: Jeremias Werner Date: Thu, 28 Aug 2025 19:52:04 +0200 Subject: [PATCH 1/2] only delete the corresponding .rclone.conf of the selected resource group --- beta/serverless-fleets/init-fleet-sandbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/serverless-fleets/init-fleet-sandbox b/beta/serverless-fleets/init-fleet-sandbox index c32b32b4b..a0de467fb 100755 --- a/beta/serverless-fleets/init-fleet-sandbox +++ b/beta/serverless-fleets/init-fleet-sandbox @@ -41,7 +41,7 @@ function clean() { target_region $REGION target_resource_group $resource_group_name - rm -rf .rclone* + rm -rf .rclone_${resource_group_name}.conf if [[ "$SETUP_MONITORING" == "true" ]]; then ibmcloud resource service-key-delete ${sysdig_key_name} -f -q 2>/dev/null From fc4b909eb48cd55c4b9056446cb4298d7222a4d7 Mon Sep 17 00:00:00 2001 From: Jeremias Werner Date: Thu, 28 Aug 2025 20:02:33 +0200 Subject: [PATCH 2/2] disable monitoring --- beta/serverless-fleets/init-fleet-sandbox | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/beta/serverless-fleets/init-fleet-sandbox b/beta/serverless-fleets/init-fleet-sandbox index a0de467fb..6571241b7 100755 --- a/beta/serverless-fleets/init-fleet-sandbox +++ b/beta/serverless-fleets/init-fleet-sandbox @@ -6,7 +6,7 @@ CLEANUP_ON_SUCCESS=${CLEANUP_ON_SUCCESS:=false} REGION="${REGION:=eu-de}" NAME_PREFIX="${NAME_PREFIX:=ce-fleet-sandbox}" SETUP_LOGGING="${SETUP_LOGGING:-true}" -SETUP_MONITORING="${SETUP_MONITORING:-true}" +SETUP_MONITORING="${SETUP_MONITORING:-false}" # Generate a short uuid for some resources @@ -126,14 +126,15 @@ print_msg "\n======================================================" print_msg " Setting up \"Code Engine Serverless Fleet\" sample" print_msg "======================================================\n" -if [[ "$SETUP_LOGGING" != "true" || "$SETUP_MONITORING" != "true" ]]; then +#if [[ "$SETUP_LOGGING" != "true" || "$SETUP_MONITORING" != "true" ]]; then +if [[ "$SETUP_LOGGING" != "true" ]]; then print_msg " ATTENTION: You requested to setup a fleet sandbox without : \n" if [[ "$SETUP_LOGGING" != "true" ]]; then print_msg " - logging support \n" fi - if [[ "$SETUP_MONITORING" != "true" ]]; then - print_msg " - monitoring support \n" - fi +# if [[ "$SETUP_MONITORING" != "true" ]]; then +# print_msg " - monitoring support \n" +# fi print_msg "Do you really want to continue setup without these services? They cannot be added later \n" read -p "Continue [y|n]? " yn case $yn in