feat: Implement MariaDB and backup job modules with configuration and secrets management

This commit is contained in:
2025-04-27 19:12:07 +02:00
parent 761c183ce2
commit 654cf500f9
14 changed files with 5 additions and 74 deletions
@@ -0,0 +1,51 @@
variable "namespace" {
description = "namespace"
sensitive = false
type = string
}
variable "app_name" {
description = "database name"
sensitive = false
type = string
}
variable "root_password" {
description = "root password"
sensitive = true
type = string
}
variable "app_password" {
description = "user password"
sensitive = true
type = string
}
variable "database_folder" {
description = "host storage path"
type = string
}
variable "cron_schedule" {
description = "Cronjob schedule for data backups"
default = "* 2 * * *"
type = string
}
variable "retention_days" {
description = "Backup retention days"
default = 14
type = number
}
variable "current_version" {
description = "version"
default = "10.7.8"
type = string
}
variable "backup_folder" {
description = "Backup source location"
type = string
}