Fix TG ID
This commit is contained in:
@@ -134,7 +134,7 @@ spec:
|
|||||||
bot-token: |-
|
bot-token: |-
|
||||||
{{ .bot_token }}
|
{{ .bot_token }}
|
||||||
chat-id: |-
|
chat-id: |-
|
||||||
{{ .chat_id }}
|
"{{ .chat_id }}"
|
||||||
data:
|
data:
|
||||||
- secretKey: bot_token
|
- secretKey: bot_token
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ data:
|
|||||||
disableResolveMessage: false
|
disableResolveMessage: false
|
||||||
settings:
|
settings:
|
||||||
bottoken: $TELEGRAM_BOT_TOKEN
|
bottoken: $TELEGRAM_BOT_TOKEN
|
||||||
chatid: "$TELEGRAM_CHAT_ID"
|
chatid: "124317807"
|
||||||
message: |
|
message: |
|
||||||
{{ if eq .Status "firing" }}🔥 FIRING{{ else }}✅ RESOLVED{{ end }}
|
{{ if eq .Status "firing" }}🔥 FIRING{{ else }}✅ RESOLVED{{ end }}
|
||||||
|
|
||||||
|
|||||||
@@ -78,8 +78,4 @@ envValueFrom:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: grafana-telegram
|
name: grafana-telegram
|
||||||
key: bot-token
|
key: bot-token
|
||||||
TELEGRAM_CHAT_ID:
|
|
||||||
secretKeyRef:
|
|
||||||
name: grafana-telegram
|
|
||||||
key: chat-id
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user