Files
awoooi/k8s/monitoring/deploy-prometheus-config.sh

19 lines
857 B
Bash
Executable File

#!/usr/bin/env bash
# Legacy compatibility entrypoint.
# superseded_by=global_product_governance_v2
# owner=observability-platform
# expiry=2026-07-15T00:00:00+08:00
# replacement=scripts/ops/deploy-signoz-prometheus-route.sh
# verifier=promtool_then_two_successful_blackbox_scrapes
#
# The historical implementation appended partial config to the retired host188
# Prometheus plane. Full-file replacement is also unsafe while independently
# governed production targets differ from the repository snapshot. Route this
# entrypoint to the bounded, target-only host110 deployer instead.
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
printf 'NOTICE: deploy-prometheus-config.sh is superseded; using the bounded host110 route deployer\n' >&2
exec "${REPO_ROOT}/scripts/ops/deploy-signoz-prometheus-route.sh" "${1:-apply}"