-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minio removed the kubectl krew plugin in 5.0.15, which means that the current workflow for installing the minio addon is outdated and will not work for newer releases. Updates the minio addon installation to use Helm instead, and brings it up to date. (cherry picked from commit 1a6aa1b)
- Loading branch information
1 parent
c3c6c13
commit d67d97f
Showing
2 changed files
with
29 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/bin/bash -ex | ||
|
||
echo "Cleaning up MinIO tenants and operator" | ||
"${SNAP}/usr/bin/yes" | "${SNAP_COMMON}/plugins/kubectl-minio" delete | ||
|
||
echo "Remove kubectl-minio" | ||
rm "${SNAP_COMMON}/plugins/kubectl-minio" | ||
rm "${SNAP_COMMON}/plugins/.kubectl-minio" | ||
HELM="$SNAP/microk8s-helm3.wrapper" | ||
NAMESPACE="minio-operator" | ||
$HELM list -n $NAMESPACE --short | xargs $HELM uninstall -n $NAMESPACE | ||
|
||
echo "Disabled minio addon." |
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