move secrets from sops lookup plugin to sops vars plugin
Some checks failed
/ Ansible Lint (push) Failing after 1m54s
Some checks failed
/ Ansible Lint (push) Failing after 1m54s
This makes secret configuration and usage a good bit cleaner.
This commit is contained in:
parent
66e2e354b1
commit
7f1afef50d
42 changed files with 2449 additions and 2446 deletions
|
@ -34,7 +34,7 @@ receivers:
|
|||
- name: "ccchh-infrastructure-alerts"
|
||||
telegram_configs:
|
||||
- send_resolved: true
|
||||
bot_token: {{ lookup("community.sops.sops", "resources/chaosknoten/grafana/secrets.yaml", extract="['alertmanager_telegram_bot_token']") }}
|
||||
bot_token: {{ secret__alertmanager_telegram_bot_token }}
|
||||
chat_id: -1002434372415
|
||||
parse_mode: HTML
|
||||
message: {{ "'{{ template \"alert-message.telegram.ccchh\" . }}'" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue