Syncs TELEGRAM_BOT_TOKEN/TELEGRAM_CHAT_ID from shared homelab/prod /telegram via the read-only infisical-operator/infisical-auth. Targets parallel-name telegram-notify-infisical; old plaintext telegram-notify stays live until the hook is repointed (3b) and the old manifest removed (3c). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
819 B
YAML
23 lines
819 B
YAML
apiVersion: secrets.infisical.com/v1beta1
|
|
kind: InfisicalStaticSecret
|
|
metadata:
|
|
name: telegram-notify
|
|
namespace: researchowl
|
|
spec:
|
|
# Shared, read-only machine identity (no write grant, no PushSecret).
|
|
infisicalAuthRef:
|
|
name: infisical-auth
|
|
namespace: infisical-operator
|
|
sources:
|
|
- projectId: 17e98e9d-70f5-43d1-8382-7da818dfcdd0 # project "homelab"
|
|
environmentSlug: prod
|
|
secretPath: /telegram # shared across all 5 namespaces
|
|
syncOptions:
|
|
refreshInterval: 60s
|
|
targets:
|
|
- kind: Secret
|
|
name: telegram-notify-infisical # parallel name — old telegram-notify stays live until 3c
|
|
namespace: researchowl
|
|
creationPolicy: Owner
|
|
# key passthrough: synced Secret carries TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID verbatim
|