fix backup sqlsserver
This commit is contained in:
+2
-2
@@ -95,8 +95,8 @@ resource "kubernetes_deployment_v1" "database-automatic" {
|
|||||||
content {
|
content {
|
||||||
name = "${each.key}-db-backup"
|
name = "${each.key}-db-backup"
|
||||||
|
|
||||||
persistent_volume_claim {
|
host_path {
|
||||||
claim_name = "${each.key}-db-backup"
|
path = join("/", [var.storage_path.fast_access,"Backup", coalesce(each.value.namespace, each.value.connected_namespace, each.key), "${each.key}-db-backup"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -197,8 +197,8 @@ resource "kubernetes_deployment_v1" "automatic" {
|
|||||||
content {
|
content {
|
||||||
name = "${each.key}-db-backup"
|
name = "${each.key}-db-backup"
|
||||||
|
|
||||||
persistent_volume_claim {
|
host_path {
|
||||||
claim_name = "${each.key}-db-backup"
|
path = join("/", [var.storage_path.fast_access,"Backup", coalesce(each.value.namespace, each.value.connected_namespace, each.key), "${each.key}-db-backup"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user