2022-01-13 10:01:59 +01:00
|
|
|
variable "hcloud_token" {
|
2022-01-13 18:34:53 +01:00
|
|
|
description = "Hetzner Cloud API Token"
|
2022-01-13 10:01:59 +01:00
|
|
|
type = string
|
2022-01-13 18:34:53 +01:00
|
|
|
sensitive = true
|
2022-01-13 10:01:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "public_key" {
|
|
|
|
description = "SSH public Key."
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "private_key" {
|
|
|
|
description = "SSH private Key."
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "location" {
|
|
|
|
description = "Default server location"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "control_plane_server_type" {
|
|
|
|
description = "Default control plane server type"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "agent_server_type" {
|
|
|
|
description = "Default agent server type"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "lb_server_type" {
|
|
|
|
description = "Default load balancer server type"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2022-01-25 15:05:29 +01:00
|
|
|
variable "lb_disable_ipv6" {
|
|
|
|
description = "Disable ipv6 for the load balancer"
|
|
|
|
type = bool
|
|
|
|
default = false
|
|
|
|
}
|
|
|
|
|
2022-01-13 10:01:59 +01:00
|
|
|
variable "servers_num" {
|
|
|
|
description = "Number of control plane nodes."
|
|
|
|
type = number
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "agents_num" {
|
|
|
|
description = "Number of agent nodes."
|
|
|
|
type = number
|
|
|
|
}
|
2022-01-13 13:32:17 +01:00
|
|
|
|
|
|
|
variable "hetzner_ccm_version" {
|
|
|
|
type = string
|
|
|
|
default = null
|
|
|
|
description = "Version of Kubernetes Cloud Controller Manager for Hetzner Cloud"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "hetzner_csi_version" {
|
|
|
|
type = string
|
|
|
|
default = null
|
|
|
|
description = "Version of Container Storage Interface driver for Hetzner Cloud"
|
|
|
|
}
|
2022-01-15 09:04:21 +01:00
|
|
|
|
2022-01-15 09:14:25 +01:00
|
|
|
variable "hetzner_ccm_containers_latest" {
|
2022-01-15 09:04:21 +01:00
|
|
|
type = bool
|
|
|
|
default = false
|
|
|
|
description = "Whether to kustomize the Hetzner CCM manifest with the latest or canary tags for containers"
|
|
|
|
}
|
|
|
|
|
2022-01-15 09:14:25 +01:00
|
|
|
variable "hetzner_csi_containers_latest" {
|
2022-01-15 09:04:21 +01:00
|
|
|
type = bool
|
|
|
|
default = false
|
|
|
|
description = "Whether to kustomize the Hetzner CSI manifest with the latest or canary tags for containers"
|
|
|
|
}
|