mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
deployment: fix SigNoz undeploy (#305)
This commit is contained in:
committed by
GitHub
parent
993fa2241a
commit
4fa11220c3
@@ -261,13 +261,18 @@ down-k8s() {
|
||||
esac
|
||||
fi
|
||||
echo -e "${BLU}Deleting Kubernetes resource${NC}"
|
||||
set -x
|
||||
kubectl delete -k k8s/base/tailscale-connections/
|
||||
helm uninstall --wait --namespace "$BUTTERCUP_NAMESPACE" buttercup
|
||||
# Remove finalizers from clickhouse installation as stated in https://signoz.io/docs/operate/kubernetes/#uninstall-signoz
|
||||
# Without this, the namespace would not be deleted
|
||||
kubectl -n "$BUTTERCUP_NAMESPACE" patch clickhouseinstallations.clickhouse.altinity.com/buttercup-clickhouse -p '{"metadata":{"finalizers":[]}}' --type=merge
|
||||
kubectl delete -k k8s/base/tailscale-coredns/
|
||||
kubectl delete -k k8s/base/tailscale-dns/
|
||||
kubectl delete -k k8s/base/tailscale-operator/
|
||||
kubectl delete secret ghcr --namespace "$BUTTERCUP_NAMESPACE"
|
||||
kubectl delete namespace "$BUTTERCUP_NAMESPACE"
|
||||
set +x
|
||||
set -e
|
||||
}
|
||||
|
||||
|
||||
@@ -80,8 +80,7 @@ setup_config() {
|
||||
configure_langfuse
|
||||
|
||||
# Configure SigNoz deployment (optional)
|
||||
# TODO: reenable signoz configuration once it is fixed
|
||||
# configure_otel
|
||||
configure_otel
|
||||
}
|
||||
|
||||
# Function to validate configuration
|
||||
|
||||
@@ -28,8 +28,7 @@ setup_config() {
|
||||
configure_langfuse
|
||||
|
||||
# Configure SigNoz deployment (optional)
|
||||
# TODO: reenable signoz configuration once it is fixed
|
||||
# configure_otel
|
||||
configure_otel
|
||||
}
|
||||
|
||||
# Function to verify setup
|
||||
|
||||
Reference in New Issue
Block a user