Add grafana-telegram InfisicalStaticSecret from /telegram (monitoring 3a, out-of-band)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-20 10:28:51 +00:00
co-authored by Claude Opus 4.8
parent 07aacc6878
commit a89d6e9a9a
@@ -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).