From 34ac77298f1c11ee4ea67928ad73ddc9e7ed5e5f Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Sat, 20 Apr 2024 08:24:41 +0100 Subject: [PATCH] upgrade to talos 1.7.0 --- README.md | 4 ++-- cilium.tf | 2 +- do | 8 ++++---- talos.tf | 8 ++++---- variables.tf | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index c4f2733..564b194 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Install talosctl: ```bash # see https://github.com/siderolabs/talos/releases # renovate: datasource=github-releases depName=siderolabs/talos -talos_version='1.6.7' +talos_version='1.7.0' wget https://github.com/siderolabs/talos/releases/download/v$talos_version/talosctl-linux-amd64 sudo install talosctl-linux-amd64 /usr/local/bin/talosctl rm talosctl-linux-amd64 @@ -147,7 +147,7 @@ time ./do destroy Talos: ```bash -# see https://www.talos.dev/v1.6/advanced/troubleshooting-control-plane/ +# see https://www.talos.dev/v1.7/advanced/troubleshooting-control-plane/ talosctl -n $all support && rm -rf support && 7z x -osupport support.zip && code support talosctl -n $c0 service ext-qemu-guest-agent status talosctl -n $c0 service etcd status diff --git a/cilium.tf b/cilium.tf index 42faabf..07eaea7 100644 --- a/cilium.tf +++ b/cilium.tf @@ -44,7 +44,7 @@ locals { cilium_external_lb_manifest = join("---\n", [for d in local.cilium_external_lb_manifests : yamlencode(d)]) } -// see https://www.talos.dev/v1.6/kubernetes-guides/network/deploying-cilium/#method-4-helm-manifests-inline-install +// see https://www.talos.dev/v1.7/kubernetes-guides/network/deploying-cilium/#method-4-helm-manifests-inline-install // see https://docs.cilium.io/en/stable/network/servicemesh/ingress/ // see https://docs.cilium.io/en/stable/gettingstarted/hubble_setup/ // see https://docs.cilium.io/en/stable/gettingstarted/hubble/ diff --git a/do b/do index 456fac4..7c949b8 100755 --- a/do +++ b/do @@ -3,7 +3,7 @@ set -euo pipefail # see https://github.com/siderolabs/talos/releases # renovate: datasource=github-releases depName=siderolabs/talos -talos_version="1.6.7" +talos_version="1.7.0" # see https://github.com/siderolabs/extensions/pkgs/container/qemu-guest-agent # renovate: datasource=docker depName=siderolabs/qemu-guest-agent registryUrl=https://ghcr.io @@ -21,9 +21,9 @@ function step { } function build_talos_image { - # see https://www.talos.dev/v1.6/talos-guides/install/boot-assets/ - # see https://www.talos.dev/v1.6/advanced/metal-network-configuration/ - # see Profile type at https://github.com/siderolabs/talos/blob/v1.6.7/pkg/imager/profile/profile.go#L20-L41 + # see https://www.talos.dev/v1.7/talos-guides/install/boot-assets/ + # see https://www.talos.dev/v1.7/advanced/metal-network-configuration/ + # see Profile type at https://github.com/siderolabs/talos/blob/v1.7.0/pkg/imager/profile/profile.go#L22-L45 local talos_version_tag="v$talos_version" rm -rf tmp/talos mkdir -p tmp/talos diff --git a/talos.tf b/talos.tf index 233d1b8..7b611c0 100644 --- a/talos.tf +++ b/talos.tf @@ -18,7 +18,7 @@ locals { # talos image, which is created in the installed state. #install = {} features = { - # see https://www.talos.dev/v1.6/kubernetes-guides/configuration/kubeprism/ + # see https://www.talos.dev/v1.7/kubernetes-guides/configuration/kubeprism/ # see talosctl -n $c0 read /etc/kubernetes/kubeconfig-kubelet | yq .clusters[].cluster.server # NB if you use a non-default CNI, you must configure it to use the # https://localhost:7445 kube-apiserver endpoint. @@ -29,8 +29,8 @@ locals { } } cluster = { - # see https://www.talos.dev/v1.6/talos-guides/discovery/ - # see https://www.talos.dev/v1.6/reference/configuration/#clusterdiscoveryconfig + # see https://www.talos.dev/v1.7/talos-guides/discovery/ + # see https://www.talos.dev/v1.7/reference/configuration/#clusterdiscoveryconfig discovery = { enabled = true registries = { @@ -75,7 +75,7 @@ data "talos_machine_configuration" "controller" { machine = { network = { interfaces = [ - # see https://www.talos.dev/v1.6/talos-guides/network/vip/ + # see https://www.talos.dev/v1.7/talos-guides/network/vip/ { interface = "eth0" vip = { diff --git a/variables.tf b/variables.tf index 02fdd44..89fd378 100644 --- a/variables.tf +++ b/variables.tf @@ -8,11 +8,11 @@ variable "proxmox_pve_node_address" { } # see https://github.com/siderolabs/talos/releases -# see https://www.talos.dev/v1.6/introduction/support-matrix/ +# see https://www.talos.dev/v1.7/introduction/support-matrix/ variable "talos_version" { type = string # renovate: datasource=github-releases depName=siderolabs/talos - default = "1.6.7" + default = "1.7.0" validation { condition = can(regex("^\\d+(\\.\\d+)+", var.talos_version)) error_message = "Must be a version number." @@ -20,7 +20,7 @@ variable "talos_version" { } # see https://github.com/siderolabs/kubelet/pkgs/container/kubelet -# see https://www.talos.dev/v1.6/introduction/support-matrix/ +# see https://www.talos.dev/v1.7/introduction/support-matrix/ variable "kubernetes_version" { type = string # renovate: datasource=github-releases depName=siderolabs/kubelet