Slimming down the cluster definition
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 5s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 16s

This commit is contained in:
2025-05-28 18:24:31 -07:00
parent 88059a5e0f
commit ee2d502ca6
4 changed files with 39 additions and 149 deletions

View File

@@ -26,46 +26,31 @@ variable cluster {
label = string
version = string
pools = map(object({
plan = string
autoscale = bool
min = number
max = number
node_quantity = number
plan = string
label = string
min_nodes = number
max_nodes = number
tag = string
}))
})
}
variable game_servers {
type = object({
namespace = string
configs = map(object({
name = optional(string)
image = string
cpu = string
mem = string
port = object({
internal = number
expose = number
})
proto = optional(string)
}))
})
}
variable admin_services {
type = object({
namespace = string
configs = map(object({
name = string
image = string
cpu = string
mem = string
port = object({
notes = optional(string)
internal = number
expose = number
})
proto = optional(string)
}))
})
}
# variable admin_services {
# type = object({
# namespace = string
# configs = map(object({
# name = string
# image = string
# cpu = string
# mem = string
# port = object({
# notes = optional(string)
# internal = number
# expose = number
# })
# proto = optional(string)
# }))
# })
# }