Refactor database path variables in Ansible and Terraform playbooks; add local database folder variable

This commit is contained in:
2025-01-12 15:15:16 +01:00
parent 7eae07ddb6
commit e8710ea134
12 changed files with 61 additions and 50 deletions
@@ -142,13 +142,13 @@ resource "kubernetes_cron_job_v1" "backup_job" {
volume {
name = "backup-storage"
host_path {
path = "${var.host_storage_path}/${var.app_backup_folder}"
path = var.target_folder
}
}
volume {
name = "persistent-storage"
host_path {
path = "${var.host_storage_path}/${var.app_files_folder}"
path = var.source_folder
}
}
volume {