Skip to content

Commit

Permalink
Use Talos 1.8.2 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dbackeus committed Oct 29, 2024
1 parent e705fa4 commit 4f7c594
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/configs_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions app/models/server.rb
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
#
Expand Down

0 comments on commit 4f7c594

Please sign in to comment.