feat(backup): update backup script and configuration to use variable tag and change source path

This commit is contained in:
2025-05-10 19:18:16 +02:00
parent a19c71009f
commit 01fc509795
4 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ resource "kubernetes_cron_job_v1" "backup_job" {
container {
name = "${var.app_name}-backup"
image = "rclone/rclone:${local.rclone_version}"
image = "rclone/rclone:${var.tag}"
image_pull_policy = "Always"
resources {
@@ -141,7 +141,7 @@ resource "kubernetes_cron_job_v1" "backup_job" {
}
volume_mount {
name = "persistent-storage"
mount_path = "/files"
mount_path = "/src"
read_only = true
}
volume_mount {