hongbo-miao/hongbomiao.com

View on GitHub
kubernetes/bin/utils/uninstall_telegraf.sh

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash
set -e

echo "# Uninstall Telegraf"
kubectl delete --filename=kubernetes/manifests/telegraf
kubectl delete secret hm-telegraf-secret --namespace=hm-telegraf
echo "=================================================="