beginning of modules
This commit is contained in:
@@ -131,7 +131,7 @@ resource "kubernetes_deployment_v1" "database-automatic" {
|
||||
name = "${each.key}-db-backup"
|
||||
|
||||
host_path {
|
||||
path = join("/", [var.storage_path.fast_access,"Backup", coalesce(each.value.namespace, each.value.connected_namespace, each.key), "${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"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,9 +23,9 @@ provider "bitwarden-secrets" {
|
||||
|
||||
variable "kubernetes" {
|
||||
type = map(object({
|
||||
name = optional(string)
|
||||
name = optional(string)
|
||||
docker = optional(bool)
|
||||
image = string
|
||||
image = string
|
||||
pvc = optional(map(object({
|
||||
name = optional(string)
|
||||
pvc = optional(bool, false)
|
||||
|
||||
@@ -5,6 +5,7 @@ kubernetes = {
|
||||
dns_nameservers = "1.1.1.1"
|
||||
replicas = 01
|
||||
image = "qmcgaw/gluetun:latest"
|
||||
exposed = false
|
||||
service_port = [8888]
|
||||
#extra_manifest = ["/opt/kubernetes/Terraform_kube/external_manifests/gluetun/gluetun-secret-netherlandNL-FREE-280.yaml"]
|
||||
secret_import = ["5527ba11-07e3-415b-8d1f-b3ee0154eb56", "b0d22160-d81a-4702-a3dd-b40e0168d617", "643dbe99-ace0-4ef5-8a2e-b44f014dccb0"]
|
||||
|
||||
Reference in New Issue
Block a user