Rename some secrets

This commit is contained in:
Tobias Reisinger 2026-11-01 14:19:45 +01:00
commit a46646ae5f
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 23 additions and 6 deletions

View file

@ -2,7 +2,8 @@
backup_list: "{{ host_services | services_get_attr('backup') | flatten }}"
backup_list_all: "{{ all_services | services_get_attr('backup') | flatten }}"
backup_backends: {}
backup_backends_json: "{}"
backup_backends: "{{ backup_backends_json | default('{}') | from_json }}"
backup_msg_start: "Backup started"
backup_msg_fail: "Backup failed"

View file

@ -1,3 +1,3 @@
---
extra_services_svc:
extra_svcs: []
extra_services_svc_json: "{}"
extra_services_svc: "{{ extra_services_svc_json | default('{}') | from_json }}"

View file

@ -1,6 +1,9 @@
---
gatus_external_endpoints_backups: "{{ hostvars | gatus_from_hosts_backup() }}"
gatus_alert_ntfy_topic: "{{ undef() }}"
gatus_alert_ntfy_token: "{{ undef() }}"
gatus_endpoints_hosts: "{{ opentofu.hosts | gatus_from_hosts() }}"
gatus_endpoints_services: "{{ all_services | gatus_from_services() }}"
@ -30,8 +33,6 @@ gatus_endpoints_other:
ui:
hide-url: true
gatus_alerting: "{{ undef() }}"
gatus_svc:
domain: "{{ all_services | service_get_domain(service_name) }}"
port: 8080
@ -51,7 +52,22 @@ gatus_yml:
- name: Matrix Federation Tester
link: "{{ gatus_federation_tester }}"
alerting: "{{ gatus_alerting | mandatory }}"
alerting:
email:
from: "{{ opentofu.mailcow_data.gatus.address }}"
username: "{{ opentofu.mailcow_data.gatus.address }}"
password: "{{ opentofu.mailcow_data.gatus.password }}"
host: "{{ mailer.host }}"
port: 587 # TODO replace with mailer.port, but that currently makes it a string
to: "{{ admin_email }}"
minimum-reminder-interval: "24h"
ntfy:
url: "https://push.serguzim.me"
topic: "{{ gatus_alert_ntfy_topic | mandatory }}"
priority: 5
token: "{{ gatus_alert_ntfy_token | mandatory }}"
disable-firebase: true
minimum-reminder-interval: "24h"
metrics: true