diff --git a/kube.tf.example b/kube.tf.example index ef163b3e..ed646b4f 100644 --- a/kube.tf.example +++ b/kube.tf.example @@ -418,6 +418,7 @@ module "kube-hetzner" { # etcd-s3-access-key = "" # etcd-s3-secret-key = "" # etcd-s3-bucket = "k3s-etcd-snapshots" + # etcd-s3-region = "" # } # To enable Hetzner Storage Box support, you can enable csi-driver-smb, default is "false". diff --git a/locals.tf b/locals.tf index 7a632a50..9a2738f9 100644 --- a/locals.tf +++ b/locals.tf @@ -109,7 +109,7 @@ locals { patch = <<-EOF - op: replace path: /spec/template/spec/containers/0/image - value: rancher/system-upgrade-controller:v0.14.2 + value: rancher/system-upgrade-controller:${var.sys_upgrade_controller_version} EOF }, { diff --git a/variables.tf b/variables.tf index 72b860c3..3eb47b61 100644 --- a/variables.tf +++ b/variables.tf @@ -1124,3 +1124,10 @@ variable "keep_disk_cp" { default = false description = "Whether to keep OS disks of nodes the same size when upgrading a control-plane node" } + + +variable "sys_upgrade_controller_version" { + type = string + default = "v0.13.4" + description = "Whether to keep OS disks of nodes the same size when upgrading a control-plane node" +} \ No newline at end of file