init
This commit is contained in:
84
terraform/stacks/k8s/variables.tf
Normal file
84
terraform/stacks/k8s/variables.tf
Normal file
@@ -0,0 +1,84 @@
|
||||
variable "kubeconfig_path" {
|
||||
type = string
|
||||
description = "Path to kubeconfig"
|
||||
}
|
||||
|
||||
# ceph
|
||||
variable "ceph_cluster_id" {
|
||||
type = string
|
||||
description = "Ceph FSID (ceph fsid)"
|
||||
}
|
||||
|
||||
variable "ceph_monitors" {
|
||||
type = list(string)
|
||||
description = "Ceph MON endpoints, e.g. [\"192.168.0.100:6789\", \"192.168.0.101:6789\"]"
|
||||
}
|
||||
|
||||
variable "ceph_rbd_pool" {
|
||||
type = string
|
||||
default = "k8s-rbd"
|
||||
}
|
||||
|
||||
variable "ceph_user_id" {
|
||||
type = string
|
||||
default = "k8s-rbd-csi" # без 'client.'
|
||||
}
|
||||
|
||||
variable "ceph_user_key" {
|
||||
type = string
|
||||
sensitive = true
|
||||
description = "Key from: ceph auth get client.k8s-rbd-csi"
|
||||
}
|
||||
|
||||
variable "ceph_csi_namespace" {
|
||||
type = string
|
||||
default = "ceph-csi"
|
||||
}
|
||||
|
||||
variable "ceph_csi_chart_version" {
|
||||
type = string
|
||||
default = "3.11.0"
|
||||
}
|
||||
|
||||
# crunchy-data
|
||||
variable "storage_class_name" {
|
||||
type = string
|
||||
description = "Твой Ceph RBD storageclass"
|
||||
default = "ceph-rbd"
|
||||
}
|
||||
|
||||
variable "crunchy_data_namespace" {
|
||||
type = string
|
||||
default = "postgres-operator"
|
||||
}
|
||||
|
||||
variable "pgo_chart_version" {
|
||||
type = string
|
||||
default = "6.0.0"
|
||||
}
|
||||
|
||||
variable "cluster_name" {
|
||||
type = string
|
||||
default = "hippo"
|
||||
}
|
||||
|
||||
# valkey
|
||||
variable "valkey_namespace" {
|
||||
type = string
|
||||
default = "valkey"
|
||||
}
|
||||
|
||||
variable "release_name" {
|
||||
type = string
|
||||
default = "valkey"
|
||||
}
|
||||
|
||||
variable "chart_version" {
|
||||
type = string
|
||||
default = "0.9.2"
|
||||
}
|
||||
|
||||
variable "values" {
|
||||
type = list(string)
|
||||
default = []
|
||||
}
|
||||
Reference in New Issue
Block a user