generated from willianpaixao/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8ac121
commit a7ecf0f
Showing
6 changed files
with
144 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
kubernetes/raspberry/observability/kube-prometheus-stack/app/alertmanager-config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
apiVersion: monitoring.coreos.com/v1alpha1 | ||
kind: AlertmanagerConfig | ||
metadata: | ||
name: alertmanager-config | ||
namespace: observability | ||
labels: | ||
alertmanagerConfig: kube-prometheus-stack | ||
spec: | ||
route: | ||
groupBy: ['alertname'] | ||
groupWait: 30s | ||
groupInterval: 5m | ||
repeatInterval: 12h | ||
receiver: 'telegram' | ||
receivers: | ||
- name: telegram | ||
telegramConfigs: | ||
botToken: | ||
name: 'telegram-config' | ||
key: 'BOT_TOKEN' | ||
chatID: -1002084680078 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
kubernetes/raspberry/observability/kube-prometheus-stack/app/telegram-config.sops.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: telegram-config | ||
namespace: observability | ||
data: | ||
BOT_TOKEN: ENC[AES256_GCM,data:p6+Ju1AIuBT+O4uJ7ZQS7+KftQ18qqrhV7x5p5T6Jci+xUUMrbcWJUukCO4=,iv:Xh59vtEMq/EGiWSauTLd2/24Fwvy1Nac1MmJjxlh7WU=,tag:dNKWx+rh8Eo2AVOb+BnUUQ==,type:str] | ||
CHAT_ID: ENC[AES256_GCM,data:Iy8A7A4PvyShJM1TXpNONMzc+ro=,iv:qLdTA/uS6rr7eoCVARl/c/nzBABvGT1x6l8eyQdU260=,tag:DK91+mMXIXW5Za2F0D+AKQ==,type:str] | ||
sops: | ||
kms: [] | ||
gcp_kms: [] | ||
azure_kv: [] | ||
hc_vault: [] | ||
age: | ||
- recipient: age1nkvss2a8xvmjauvr5mxzm233hyh2mk2fg4s6pt0t0kcn03dv34wqtgymg8 | ||
enc: | | ||
-----BEGIN AGE ENCRYPTED FILE----- | ||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBkZzB1bjh1alJkKyt1aWNl | ||
eWdMYjZqbjMwMWNiYnB4R0ZXZE82c3pFZzJZClhxUEh4UTFlcFZnVTJBVmZ2eFMz | ||
blBWRnBmeEdnNjBISUJYQTBtalZWR3MKLS0tIERmemFSQ0o0bk1MT0dIWU9iOXN1 | ||
R2lsSUFvMjFQVTRYT25tb3FOMG9NQTgKAl8sBHxxpvLC3zVTMoEUe/dLPzyRQjdu | ||
iaYlewpypwzduLlDfo2dpfErOCedf6oC2w4gRmNJTP0lg2KWdzN33A== | ||
-----END AGE ENCRYPTED FILE----- | ||
- recipient: age1wxwqdrmkwkzsxajp58g0cgeextgf4wq287fv82pptv9yghkfgcqql66zhj | ||
enc: | | ||
-----BEGIN AGE ENCRYPTED FILE----- | ||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAxTWEwb29QbW0yUjk2QUlN | ||
djVrbnZPeUgvMmJwZU5MZ0ozUTBnN0RQcEdjClRaeEZSVU5SZHB2aHVoczBjOXNs | ||
VVlyZU5aVTlxcldaTXBFYVRyaFpDSmMKLS0tIGFidm9wVW1YT2NMdy9rSnZENytj | ||
UVc3WTRVSFFVSGNrNCt0MXFYUWZLbDQKpIJimfVIW3uR4TBL/emtALvJmKdYkh4t | ||
M1UOLPI4cDPK8vC6mgg6fZlJyzp0A3Q8kPoTV2STjjh9Ezpk2blVkQ== | ||
-----END AGE ENCRYPTED FILE----- | ||
lastmodified: "2024-11-21T17:00:48Z" | ||
mac: ENC[AES256_GCM,data:c6jx3bhaqqxt/lPzq8P5QSZx1D7dlbfu6yqjhzdsNNyiL9muymDtCLpfDE/Nfppq/ripLK99EOI52/j+8jlLWOFeARm89b+08DUFUR/NT2bEz73S+dMeNeuFUItSyTH58n9NEd/pnkksY1+DlbgCELNQnwnOyP7uQQBvD1LIEKQ=,iv:icX6P1SHjZHe4VEMaybqbROeFONhkl1oI3DmrCTQ0+M=,tag:8YYAI0JY+qQNShRlwHzYRQ==,type:str] | ||
pgp: [] | ||
encrypted_regex: ^(data|stringData)$ | ||
version: 3.9.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters