From 4f7c59435a106c49b5e137c2b64a060cdf66f0e4 Mon Sep 17 00:00:00 2001 From: David Backeus Date: Tue, 29 Oct 2024 13:45:46 +0100 Subject: [PATCH] Use Talos 1.8.2 by default --- Dockerfile | 2 +- app/controllers/configs_controller.rb | 2 +- app/models/server.rb | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a03c7b4..18f5828 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ FROM base as talosctl RUN apt-get update -qq && apt-get install --no-install-recommends -y wget -ARG TALOS_VERSION=1.8.1 +ARG TALOS_VERSION=1.8.2 # TODO: This should use TARGETPLATFORM to determine the correct binary to download RUN wget https://github.com/siderolabs/talos/releases/download/v${TALOS_VERSION}/talosctl-linux-amd64 -O /usr/local/bin/talosctl RUN chmod +x /usr/local/bin/talosctl diff --git a/app/controllers/configs_controller.rb b/app/controllers/configs_controller.rb index c7d2d46..5dc8b97 100644 --- a/app/controllers/configs_controller.rb +++ b/app/controllers/configs_controller.rb @@ -24,7 +24,7 @@ def show def new @config = Config.new( kubernetes_version: "1.30.1", - install_image: "ghcr.io/siderolabs/installer:v1.8.1", + install_image: "ghcr.io/siderolabs/installer:v1.8.2", kubespan: true, ) end diff --git a/app/models/server.rb b/app/models/server.rb index ff7ac77..334d364 100644 --- a/app/models/server.rb +++ b/app/models/server.rb @@ -1,6 +1,6 @@ class Server < ApplicationRecord - TALOS_AMD64_IMAGE_URL = ENV["TALOS_AMD64_IMAGE_URL"] || "https://github.com/siderolabs/talos/releases/download/v1.8.1/metal-amd64.raw.zst".freeze - TALOS_ARM64_IMAGE_URL = ENV["TALOS_ARM64_IMAGE_URL"] || "https://github.com/siderolabs/talos/releases/download/v1.8.1/metal-arm64.raw.zst".freeze + TALOS_AMD64_IMAGE_URL = ENV["TALOS_AMD64_IMAGE_URL"] || "https://github.com/siderolabs/talos/releases/download/v1.8.2/metal-amd64.raw.zst".freeze + TALOS_ARM64_IMAGE_URL = ENV["TALOS_ARM64_IMAGE_URL"] || "https://github.com/siderolabs/talos/releases/download/v1.8.2/metal-arm64.raw.zst".freeze belongs_to :cluster, optional: true @@ -45,7 +45,7 @@ def bootstrappable? end # Equivalent of manually running the following via ssh: - # TALOS_IMAGE_URL=https://github.com/siderolabs/talos/releases/download/v1.8.1/metal-amd64.raw.zst + # TALOS_IMAGE_URL=https://github.com/siderolabs/talos/releases/download/v1.8.2/metal-amd64.raw.zst # DEVICE=nvme0n1 # HOST=example.com #