deployment: fix SigNoz undeploy (#305)

This commit is contained in:
Riccardo Schirone
2025-08-20 21:01:44 +02:00
committed by GitHub
parent 993fa2241a
commit 4fa11220c3
3 changed files with 7 additions and 4 deletions
+5
View File
@@ -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
}
+1 -2
View File
@@ -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
+1 -2
View File
@@ -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