Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add s3 region to docs & move system-upgrade-controller to variables #1512

Merged
merged 3 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions kube.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ module "kube-hetzner" {
# etcd-s3-access-key = "<access-key>"
# etcd-s3-secret-key = "<secret-key>"
# etcd-s3-bucket = "k3s-etcd-snapshots"
# etcd-s3-region = "<your-s3-bucket-region|usually required for aws>"
# }

# To enable Hetzner Storage Box support, you can enable csi-driver-smb, default is "false".
Expand Down
2 changes: 1 addition & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
{
Expand Down
7 changes: 7 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}