Adjust TG ID to var
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: "$TELEGRAM_CHAT_ID"
|
||||||
message: |
|
message: |
|
||||||
{{ if eq .Status "firing" }}🔥 FIRING{{ else }}✅ RESOLVED{{ end }}
|
{{ if eq .Status "firing" }}🔥 FIRING{{ else }}✅ RESOLVED{{ end }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user