variable "component" { type = string } variable "instance" { type = string } variable "namespace" { type = string } variable "labels" { type = map(string) } variable "annotations" { type = map(string) default = {} } variable "images" { type = object({ redis = optional(object({ pull_policy = optional(string), registry = optional(string), repository = optional(string), tag = optional(string) })), redis_exporter = optional(object({ pull_policy = optional(string), registry = optional(string), repository = optional(string), tag = optional(string) })) }) default = { "redis" = { "pull_policy" = "IfNotPresent" "registry" = "quay.io" "repository" = "opstree/redis" "tag" = "v7.0.12" } "redis_exporter" = { "pull_policy" = "IfNotPresent" "registry" = "quay.io" "repository" = "opstree/redis-exporter" "tag" = "v1.44.0" } } } variable "exporter" { type = object({ enabled = optional(bool) }) default = { "enabled" = true } } variable "password" { type = object({ enabled = optional(bool), name = optional(string), key = optional(string) }) default = { "enabled" = false "name" = "" "key" = "" } } variable "storage" { type = object({ size = optional(string) }) default = { "size" = "2Gi" } }