mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 21:11:02 +00:00
deploy with k3s
This commit is contained in:
parent
0f08cfb0d2
commit
2863062e44
26 changed files with 456 additions and 207 deletions
67
k3s_cluster/variables.tf
Normal file
67
k3s_cluster/variables.tf
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
variable name {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable server_image {
|
||||
type = string
|
||||
# With ubuntu-20.04 k3s crashes on start (v1.17.4+k3s1)
|
||||
default = "ubuntu-18.04"
|
||||
}
|
||||
|
||||
variable server_location {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable control_server_type {
|
||||
type = string
|
||||
default = "cx11"
|
||||
}
|
||||
|
||||
variable compute_server_type {
|
||||
type = string
|
||||
default = "cx21"
|
||||
}
|
||||
|
||||
variable compute_count {
|
||||
type = number
|
||||
default = 1
|
||||
}
|
||||
|
||||
variable domain {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable letsencrypt_email {
|
||||
type = string
|
||||
default = "none@none.com"
|
||||
description = "LetsEncrypt email address to use"
|
||||
}
|
||||
|
||||
variable ssh_keys {
|
||||
type = list(string)
|
||||
default = []
|
||||
}
|
||||
|
||||
variable install_k3s_version {
|
||||
type = string
|
||||
default = "1.17.4+k3s1"
|
||||
}
|
||||
|
||||
variable k3s_cluster_secret {
|
||||
type = string
|
||||
default = null
|
||||
}
|
||||
|
||||
variable hcloud_csi_driver_version {
|
||||
type = string
|
||||
default = "v1.2.3"
|
||||
}
|
||||
|
||||
variable hcloud_csi_driver_token {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable cert_manager_version {
|
||||
type = string
|
||||
default = "v0.14.3"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue