mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
chore(talos): update machine config version
This commit is contained in:
@@ -29,7 +29,9 @@ module "talos" {
|
|||||||
# Omit this if devices are not connected on layer 2
|
# Omit this if devices are not connected on layer 2
|
||||||
vip = "192.168.1.99"
|
vip = "192.168.1.99"
|
||||||
gateway = "192.168.1.1"
|
gateway = "192.168.1.1"
|
||||||
talos_version = "v1.8"
|
# The version of talos features to use in generated machine configuration. Generally the same as image version.
|
||||||
|
# See https://github.com/siderolabs/terraform-provider-talos/blob/main/docs/data-sources/machine_configuration.md
|
||||||
|
talos_machine_config_version = "v1.9.2"
|
||||||
proxmox_cluster = "homelab"
|
proxmox_cluster = "homelab"
|
||||||
kubernetes_version = "1.32.0" # renovate: github-releases=kubernetes/kubernetes
|
kubernetes_version = "1.32.0" # renovate: github-releases=kubernetes/kubernetes
|
||||||
base_domain = "stonegarden.dev"
|
base_domain = "stonegarden.dev"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
resource "talos_machine_secrets" "this" {
|
resource "talos_machine_secrets" "this" {
|
||||||
talos_version = var.cluster.talos_version
|
talos_version = var.cluster.talos_machine_config_version
|
||||||
}
|
}
|
||||||
|
|
||||||
data "talos_client_configuration" "this" {
|
data "talos_client_configuration" "this" {
|
||||||
@@ -17,7 +17,7 @@ data "talos_machine_configuration" "this" {
|
|||||||
# This is the Kubernetes API Server endpoint.
|
# This is the Kubernetes API Server endpoint.
|
||||||
# ref - https://www.talos.dev/v1.9/introduction/prodnotes/#decide-the-kubernetes-endpoint
|
# ref - https://www.talos.dev/v1.9/introduction/prodnotes/#decide-the-kubernetes-endpoint
|
||||||
cluster_endpoint = "https://${var.cluster.endpoint}:6443"
|
cluster_endpoint = "https://${var.cluster.endpoint}:6443"
|
||||||
talos_version = var.cluster.talos_version
|
talos_version = var.cluster.talos_machine_config_version
|
||||||
machine_type = each.value.machine_type
|
machine_type = each.value.machine_type
|
||||||
machine_secrets = talos_machine_secrets.this.machine_secrets
|
machine_secrets = talos_machine_secrets.this.machine_secrets
|
||||||
config_patches = [
|
config_patches = [
|
||||||
|
|||||||
@@ -15,15 +15,15 @@ variable "image" {
|
|||||||
variable "cluster" {
|
variable "cluster" {
|
||||||
description = "Cluster configuration"
|
description = "Cluster configuration"
|
||||||
type = object({
|
type = object({
|
||||||
name = string
|
name = string
|
||||||
endpoint = string
|
endpoint = string
|
||||||
vip = optional(string)
|
vip = optional(string)
|
||||||
gateway = string
|
gateway = string
|
||||||
subnet_mask = optional(string, "24")
|
subnet_mask = optional(string, "24")
|
||||||
talos_version = string
|
talos_machine_config_version = string
|
||||||
proxmox_cluster = string
|
proxmox_cluster = string
|
||||||
kubernetes_version = string
|
kubernetes_version = string
|
||||||
base_domain = string
|
base_domain = string
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user