my-homelab-configs/bootstrap/cluster/variables.tf

56 lines
999 B
HCL

variable "control_plane_node_name" {
type = string
default = "debian"
}
variable "control_plane_advertise_address" {
type = string
default = "192.168.100.68"
}
variable "pod_network_cidr" {
type = string
default = "10.244.0.0/16"
}
variable "kubeconfig_path" {
type = string
default = "/home/jv/.kube/config"
}
variable "kubeconfig_owner" {
type = string
default = "jv:jv"
}
variable "registry_endpoint" {
type = string
default = "192.168.100.68:30500"
}
variable "persistent_volume_dirs" {
type = list(string)
default = [
"/var/openebs/local/registry",
"/var/openebs/local/gitea",
]
}
variable "worker_nodes" {
type = map(object({
host = string
user = string
node_name = string
ssh_key_path = string
}))
default = {
raspberrypi = {
host = "192.168.100.89"
user = "jv"
node_name = "raspberry"
ssh_key_path = "/home/jv/.ssh/id_ed25519"
}
}
}