From f872d993a9ffcb588231a48df331cc6a9c673e03 Mon Sep 17 00:00:00 2001 From: Tibor Djurica Potpara Date: Thu, 14 Mar 2024 23:21:55 +0000 Subject: [PATCH] chore: Upgrade deps & bump Kubernetes version (#36) --- README.md | 6 +++--- modules/worker-node/variables.tf | 2 +- templates/hetzner_ccm.yaml.tpl | 2 +- templates/hetzner_csi.yaml.tpl | 6 +++--- templates/wigglenet.yaml.tpl | 2 +- variables.tf | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ffb67d9..5f0a63a 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,9 @@ and check the access by viewing the created cluster nodes: ```cmd $ kubectl get nodes --kubeconfig=kubeconfig.conf NAME STATUS ROLES AGE VERSION -k8s-control-plane-0 Ready control-plane 31m v1.28.3 -k8s-worker-0 Ready 31m v1.28.3 -k8s-worker-1 Ready 31m v1.28.3 +k8s-control-plane-0 Ready control-plane 31m v1.29.2 +k8s-worker-0 Ready 31m v1.29.2 +k8s-worker-1 Ready 31m v1.29.2 ``` ## Supported base images diff --git a/modules/worker-node/variables.tf b/modules/worker-node/variables.tf index cdbbb8f..6dfcad3 100644 --- a/modules/worker-node/variables.tf +++ b/modules/worker-node/variables.tf @@ -51,7 +51,7 @@ variable "labels" { variable "kubernetes_version" { description = "Kubernetes version" type = string - default = "1.28.3" + default = "1.29.2" validation { condition = can(regex("^1\\.([0-9]+)\\.([0-9]+)$", var.kubernetes_version)) diff --git a/templates/hetzner_ccm.yaml.tpl b/templates/hetzner_ccm.yaml.tpl index 9033251..d6f9b3d 100644 --- a/templates/hetzner_ccm.yaml.tpl +++ b/templates/hetzner_ccm.yaml.tpl @@ -90,7 +90,7 @@ spec: %{ endif ~} - name: HCLOUD_INSTANCES_ADDRESS_FAMILY value: dualstack - image: hetznercloud/hcloud-cloud-controller-manager:v1.18.0 # x-release-please-version + image: hetznercloud/hcloud-cloud-controller-manager:v1.19.0 # x-release-please-version ports: - name: metrics containerPort: 8233 diff --git a/templates/hetzner_csi.yaml.tpl b/templates/hetzner_csi.yaml.tpl index cb3559d..285c72f 100644 --- a/templates/hetzner_csi.yaml.tpl +++ b/templates/hetzner_csi.yaml.tpl @@ -208,7 +208,7 @@ spec: limits: {} requests: {} - name: hcloud-csi-driver - image: docker.io/hetznercloud/hcloud-csi-driver:v2.5.1 # x-release-please-version + image: docker.io/hetznercloud/hcloud-csi-driver:v2.6.0 # x-release-please-version imagePullPolicy: IfNotPresent command: [/bin/hcloud-csi-driver-node] volumeMounts: @@ -342,7 +342,7 @@ spec: name: socket-dir - name: hcloud-csi-driver - image: docker.io/hetznercloud/hcloud-csi-driver:v2.5.1 # x-release-please-version + image: docker.io/hetznercloud/hcloud-csi-driver:v2.6.0 # x-release-please-version imagePullPolicy: IfNotPresent command: [/bin/hcloud-csi-driver-controller] env: @@ -398,4 +398,4 @@ spec: fsGroupPolicy: File podInfoOnMount: true volumeLifecycleModes: - - Persistent \ No newline at end of file + - Persistent diff --git a/templates/wigglenet.yaml.tpl b/templates/wigglenet.yaml.tpl index 78a9f12..d6cb503 100644 --- a/templates/wigglenet.yaml.tpl +++ b/templates/wigglenet.yaml.tpl @@ -54,7 +54,7 @@ spec: serviceAccountName: wigglenet containers: - name: wigglenet - image: ghcr.io/tibordp/wigglenet:v0.4.1 + image: ghcr.io/tibordp/wigglenet:v0.4.2 imagePullPolicy: IfNotPresent env: - name: NODE_NAME diff --git a/variables.tf b/variables.tf index 142ac25..ffdbccc 100644 --- a/variables.tf +++ b/variables.tf @@ -116,9 +116,9 @@ variable "primary_ip_family" { } variable "kubernetes_version" { - description = "Version of Kubernetes to install (default: 1.28.3)" + description = "Version of Kubernetes to install (default: 1.29.2)" type = string - default = "1.28.3" + default = "1.29.2" validation { condition = can(regex("^1\\.([0-9]+)\\.([0-9]+)$", var.kubernetes_version))