@leverege/build-tools 2.36.1 → 2.36.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/helmdn +11 -0
package/package.json
CHANGED
package/src/helmdn
CHANGED
|
@@ -92,6 +92,17 @@ function annihilateVelero() {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
function helmDown() {
|
|
95
|
+
if [ -f "$1/.nohelmdn" ];
|
|
96
|
+
then
|
|
97
|
+
cat<<NOHELMDN
|
|
98
|
+
`color r "***ERROR: $1/.nohelmdn blocker detect - helmdn blocked"`
|
|
99
|
+
|
|
100
|
+
Somebody really doesn't want you to helmdn $1
|
|
101
|
+
|
|
102
|
+
NOHELMDN
|
|
103
|
+
exit 1
|
|
104
|
+
fi
|
|
105
|
+
|
|
95
106
|
local namespace=${2:-default}
|
|
96
107
|
local helmdn="helm uninstall $1 -n $namespace"
|
|
97
108
|
eval $helmdn
|