44 lines
960 B
HCL
44 lines
960 B
HCL
# Kubernetes Namespace Module Variables
|
|
|
|
variable "name" {
|
|
description = "Namespace name"
|
|
type = string
|
|
}
|
|
|
|
variable "labels" {
|
|
description = "Labels to apply to namespace"
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "annotations" {
|
|
description = "Annotations to apply to namespace"
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "resource_quota" {
|
|
description = "Resource quota limits"
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "limit_range" {
|
|
description = "Limit range configuration"
|
|
type = object({
|
|
default = map(string)
|
|
default_request = map(string)
|
|
max = map(string)
|
|
min = map(string)
|
|
max_limit_request_ratio = map(string)
|
|
})
|
|
default = {
|
|
default = {}
|
|
default_request = {}
|
|
max = {}
|
|
min = {}
|
|
max_limit_request_ratio = {}
|
|
}
|
|
}
|
|
|