first commit
This commit is contained in:
10
deploy/scripts/undeploy.sh
Normal file
10
deploy/scripts/undeploy.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
source "$(dirname "$0")/common.sh"
|
||||
require_command kubectl
|
||||
validate_environment
|
||||
|
||||
kubectl delete -k "${OVERLAY_DIR}" --ignore-not-found
|
||||
if [[ "${DELETE_NAMESPACE:-false}" == "true" ]]; then
|
||||
kubectl delete namespace "${NAMESPACE}" --ignore-not-found
|
||||
fi
|
||||
Reference in New Issue
Block a user