Skip to content

Commit

Permalink
upgrade to talos 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rgl committed Apr 20, 2024
1 parent 699e130 commit 34ac772
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cilium.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
8 changes: 4 additions & 4 deletions do
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions talos.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 = {
Expand Down Expand Up @@ -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 = {
Expand Down
6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ 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."
}
}

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

0 comments on commit 34ac772

Please sign in to comment.