From a89d6e9a9a8fd396b64d8f0118e6fcb67269eb09 Mon Sep 17 00:00:00 2001 From: chemavx Date: Sat, 20 Jun 2026 10:28:51 +0000 Subject: [PATCH] Add grafana-telegram InfisicalStaticSecret from /telegram (monitoring 3a, out-of-band) Co-Authored-By: Claude Opus 4.8 --- monitoring/infisical-grafana-telegram.yaml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 monitoring/infisical-grafana-telegram.yaml diff --git a/monitoring/infisical-grafana-telegram.yaml b/monitoring/infisical-grafana-telegram.yaml new file mode 100644 index 0000000..489c3aa --- /dev/null +++ b/monitoring/infisical-grafana-telegram.yaml @@ -0,0 +1,27 @@ +apiVersion: secrets.infisical.com/v1beta1 +kind: InfisicalStaticSecret +metadata: + name: grafana-telegram + namespace: monitoring +spec: + # Shared, read-only machine identity (no write grant, no PushSecret). + # NOTE: the monitoring namespace is applied OUT-OF-BAND (not an ArgoCD app), + # so this CR is created with `kubectl apply` — committing it here is for record. + infisicalAuthRef: + name: infisical-auth + namespace: infisical-operator + sources: + # Reused from the shared /telegram path (same token as the other namespaces; + # 7th and final copy of the Telegram bot token leaving git). + - projectId: 17e98e9d-70f5-43d1-8382-7da818dfcdd0 # project "homelab" + environmentSlug: prod + secretPath: /telegram + syncOptions: + refreshInterval: 60s + targets: + - kind: Secret + name: grafana-telegram-infisical # parallel name — old grafana-telegram stays live until 3c + namespace: monitoring + creationPolicy: Owner + # key passthrough: synced Secret carries TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID + # verbatim — Grafana's env secretKeyRefs use those exact names (no remap).