initial commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# Cluster Basis-Konfiguration
|
||||
variable "cluster_name" {
|
||||
description = "Name des zu erstellenden Clusters"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "cluster_environment" {
|
||||
description = "Umgebung des Clusters (dev/test/prod)"
|
||||
type = string
|
||||
validation {
|
||||
condition = contains(["dev", "test", "prod"], var.cluster_environment)
|
||||
error_message = "Erlaubte Werte für cluster_environment sind: dev, test, prod"
|
||||
}
|
||||
}
|
||||
|
||||
variable "cluster_kubernetes_version" {
|
||||
description = "Kubernetes Version für den Cluster"
|
||||
type = string
|
||||
}
|
||||
|
||||
# Harvester-spezifische Konfiguration
|
||||
variable "harvester_cluster_name" {
|
||||
description = "Name des Harvester Clusters (z.B. 'c-bhq26')"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "cluster_vm_namespace" {
|
||||
description = "Namespace für die VMs im Cluster"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "cluster_vm_network" {
|
||||
description = "Netzwerk für die VMs"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "cluster_vm_image" {
|
||||
description = "Image für die VMs"
|
||||
type = string
|
||||
}
|
||||
Reference in New Issue
Block a user