Refactor the vault/secrets

This commit is contained in:
Tobias Reisinger 2026-02-06 21:41:42 +01:00
parent 11c339ce92
commit 28f2e9a33a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
32 changed files with 144 additions and 83 deletions

View file

@ -1,9 +1,5 @@
---
gatus_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
port: 8080
gatus_external_endpoints_backups: "{{ hostvars | vault_hosts_backup_to_gatus() }}"
gatus_external_endpoints_backups: "{{ hostvars | hosts_backup_to_gatus() }}"
gatus_endpoints_hosts: "{{ opentofu.hosts | hosts_to_gatus() }}"
gatus_endpoints_services: "{{ all_services | services_to_gatus() }}"
@ -34,6 +30,12 @@ gatus_endpoints_other:
ui:
hide-url: true
gatus_alerting: "{{ undef() }}"
gatus_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
port: 8080
gatus_yml:
storage:
type: sqlite
@ -49,9 +51,7 @@ gatus_yml:
- name: Matrix Federation Tester
link: "{{ gatus_federation_tester }}"
alerting:
email: "{{ vault_gatus.alerting.email }}"
ntfy: "{{ vault_gatus.alerting.ntfy }}"
alerting: "{{ gatus_alerting | mandatory }}"
metrics: true