47 lines
1.0 KiB
HCL
47 lines
1.0 KiB
HCL
variable "namespace" {
|
|
type = string
|
|
description = "Namespace, где будет PostgresCluster"
|
|
default = "postgres-operator"
|
|
}
|
|
|
|
variable "name" {
|
|
type = string
|
|
description = "Имя PostgresCluster"
|
|
default = "hippo"
|
|
}
|
|
|
|
variable "storage_class_name" {
|
|
type = string
|
|
description = "StorageClass для PVC (твой Ceph CSI RBD), например: ceph-rbd"
|
|
default = "ceph-rbd"
|
|
}
|
|
|
|
variable "postgres_version" {
|
|
type = number
|
|
description = "Major версия PostgreSQL (ставь ту, которую поддерживает твой CPK)"
|
|
default = 16
|
|
}
|
|
|
|
variable "instance_storage" {
|
|
type = string
|
|
description = "Размер диска под data"
|
|
default = "10Gi"
|
|
}
|
|
|
|
variable "backup_storage" {
|
|
type = string
|
|
description = "Размер диска под pgBackRest repo"
|
|
default = "10Gi"
|
|
}
|
|
|
|
variable "gitlab_db_user" {
|
|
type = string
|
|
default = "gitlab"
|
|
}
|
|
|
|
variable "gitlab_db_name" {
|
|
type = string
|
|
default = "gitlabhq_production"
|
|
}
|
|
|