Loading helm/scripts/uninstall_capif.sh +45 −14 Original line number Diff line number Diff line #!/bin/bash source $(dirname "$(readlink -f "$0")")/variables.sh help() { echo "Usage: $1 <options>" echo " -y : Force uninstall component" echo " -h : show this help" exit 1 } export FORCE=0 # Read params while getopts ":yh" opt; do case $opt in y) FORCE=1 ;; h) help ;; \?) echo "Not valid option: -$OPTARG" >&2 help ;; :) echo "The -$OPTARG option requires an argument." >&2 help ;; esac done if [[ "$FORCE" == "0"]] # Function to display a warning message warning_message() { echo "WARNING: This uninstallation process is irreversible." Loading @@ -19,7 +48,9 @@ if [ "$USER_INPUT" != "yes" ]; then echo "Uninstallation aborted by the user." exit 1 fi else echo "Forced uninstall" fi # Proceed with the uninstallation process echo "Proceeding with uninstallation..." Loading helm/scripts/uninstall_monitoring.sh +45 −14 Original line number Diff line number Diff line #!/bin/bash source $(dirname "$(readlink -f "$0")")/variables.sh help() { echo "Usage: $1 <options>" echo " -y : Force uninstall component" echo " -h : show this help" exit 1 } export FORCE=0 # Read params while getopts ":yh" opt; do case $opt in y) FORCE=1 ;; h) help ;; \?) echo "Not valid option: -$OPTARG" >&2 help ;; :) echo "The -$OPTARG option requires an argument." >&2 help ;; esac done if [[ "$FORCE" == "0"]] # Function to display a warning message warning_message() { echo "WARNING: This uninstallation process is irreversible." Loading @@ -19,7 +48,9 @@ if [ "$USER_INPUT" != "yes" ]; then echo "Uninstallation aborted by the user." exit 1 fi else echo "Forced uninstall" fi # Proceed with the uninstallation process echo "Proceeding with uninstallation..." Loading helm/scripts/uninstall_vault.sh +45 −13 Original line number Diff line number Diff line #!/bin/bash source $(dirname "$(readlink -f "$0")")/variables.sh help() { echo "Usage: $1 <options>" echo " -y : Force uninstall component" echo " -h : show this help" exit 1 } export FORCE=0 # Read params while getopts ":yh" opt; do case $opt in y) FORCE=1 ;; h) help ;; \?) echo "Not valid option: -$OPTARG" >&2 help ;; :) echo "The -$OPTARG option requires an argument." >&2 help ;; esac done if [[ "$FORCE" == "0"]] # Function to display a warning message warning_message() { echo "WARNING: This uninstallation process is irreversible." Loading @@ -19,6 +48,9 @@ if [ "$USER_INPUT" != "yes" ]; then echo "Uninstallation aborted by the user." exit 1 fi else echo "Forced uninstall" fi # Proceed with the uninstallation process echo "Proceeding with uninstallation..." Loading Loading
helm/scripts/uninstall_capif.sh +45 −14 Original line number Diff line number Diff line #!/bin/bash source $(dirname "$(readlink -f "$0")")/variables.sh help() { echo "Usage: $1 <options>" echo " -y : Force uninstall component" echo " -h : show this help" exit 1 } export FORCE=0 # Read params while getopts ":yh" opt; do case $opt in y) FORCE=1 ;; h) help ;; \?) echo "Not valid option: -$OPTARG" >&2 help ;; :) echo "The -$OPTARG option requires an argument." >&2 help ;; esac done if [[ "$FORCE" == "0"]] # Function to display a warning message warning_message() { echo "WARNING: This uninstallation process is irreversible." Loading @@ -19,7 +48,9 @@ if [ "$USER_INPUT" != "yes" ]; then echo "Uninstallation aborted by the user." exit 1 fi else echo "Forced uninstall" fi # Proceed with the uninstallation process echo "Proceeding with uninstallation..." Loading
helm/scripts/uninstall_monitoring.sh +45 −14 Original line number Diff line number Diff line #!/bin/bash source $(dirname "$(readlink -f "$0")")/variables.sh help() { echo "Usage: $1 <options>" echo " -y : Force uninstall component" echo " -h : show this help" exit 1 } export FORCE=0 # Read params while getopts ":yh" opt; do case $opt in y) FORCE=1 ;; h) help ;; \?) echo "Not valid option: -$OPTARG" >&2 help ;; :) echo "The -$OPTARG option requires an argument." >&2 help ;; esac done if [[ "$FORCE" == "0"]] # Function to display a warning message warning_message() { echo "WARNING: This uninstallation process is irreversible." Loading @@ -19,7 +48,9 @@ if [ "$USER_INPUT" != "yes" ]; then echo "Uninstallation aborted by the user." exit 1 fi else echo "Forced uninstall" fi # Proceed with the uninstallation process echo "Proceeding with uninstallation..." Loading
helm/scripts/uninstall_vault.sh +45 −13 Original line number Diff line number Diff line #!/bin/bash source $(dirname "$(readlink -f "$0")")/variables.sh help() { echo "Usage: $1 <options>" echo " -y : Force uninstall component" echo " -h : show this help" exit 1 } export FORCE=0 # Read params while getopts ":yh" opt; do case $opt in y) FORCE=1 ;; h) help ;; \?) echo "Not valid option: -$OPTARG" >&2 help ;; :) echo "The -$OPTARG option requires an argument." >&2 help ;; esac done if [[ "$FORCE" == "0"]] # Function to display a warning message warning_message() { echo "WARNING: This uninstallation process is irreversible." Loading @@ -19,6 +48,9 @@ if [ "$USER_INPUT" != "yes" ]; then echo "Uninstallation aborted by the user." exit 1 fi else echo "Forced uninstall" fi # Proceed with the uninstallation process echo "Proceeding with uninstallation..." Loading