-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Carsten Schafer <[email protected]>
- Loading branch information
Carsten Schafer
authored and
Carsten Schafer
committed
Apr 15, 2024
1 parent
9093a85
commit a377966
Showing
7 changed files
with
108 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
_values.custom_*.yaml | ||
_values.custom-*.yaml | ||
certs/ | ||
env_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
#!/bin/bash | ||
[ -z "$NAMESPACE" ] && echo "No NAMESPACE set" && exit 1 | ||
helm -n openwifi-"$NAMESPACE" delete tip-openwifi | ||
ns="openwifi-$NAMESPACE" | ||
echo "Cleaning up namespace $ns in 10 seconds..." | ||
sleep 10 | ||
echo "- delete tip-openwifi helm release in $ns" | ||
helm -n "$ns" delete tip-openwifi | ||
if [[ "$1" == "full" ]] ; then | ||
echo "- delete $ns namespace in 30 seconds..." | ||
sleep 30 | ||
kubectl delete ns openwifi-"$NAMESPACE" | ||
echo "- delete $ns namespace" | ||
kubectl delete ns "$ns" | ||
fi | ||
echo "- cleaned up $ns namespace" | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters