feat(backup): update backup script and configuration to use variable tag and change source path
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user