mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 07:10:14 +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
|
||||
vip = "192.168.1.99"
|
||||
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"
|
||||
kubernetes_version = "1.32.0" # renovate: github-releases=kubernetes/kubernetes
|
||||
base_domain = "stonegarden.dev"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
resource "talos_machine_secrets" "this" {
|
||||
talos_version = var.cluster.talos_version
|
||||
talos_version = var.cluster.talos_machine_config_version
|
||||
}
|
||||
|
||||
data "talos_client_configuration" "this" {
|
||||
@@ -17,7 +17,7 @@ data "talos_machine_configuration" "this" {
|
||||
# This is the Kubernetes API Server endpoint.
|
||||
# ref - https://www.talos.dev/v1.9/introduction/prodnotes/#decide-the-kubernetes-endpoint
|
||||
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_secrets = talos_machine_secrets.this.machine_secrets
|
||||
config_patches = [
|
||||
|
||||
@@ -15,15 +15,15 @@ variable "image" {
|
||||
variable "cluster" {
|
||||
description = "Cluster configuration"
|
||||
type = object({
|
||||
name = string
|
||||
endpoint = string
|
||||
name = string
|
||||
endpoint = string
|
||||
vip = optional(string)
|
||||
gateway = string
|
||||
gateway = string
|
||||
subnet_mask = optional(string, "24")
|
||||
talos_version = string
|
||||
proxmox_cluster = string
|
||||
kubernetes_version = string
|
||||
base_domain = string
|
||||
talos_machine_config_version = string
|
||||
proxmox_cluster = string
|
||||
kubernetes_version = string
|
||||
base_domain = string
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user