cilium version can be set, default versions for talos, k8s, cilium

This commit is contained in:
Stefan Le Breton 2024-11-24 17:53:56 +01:00
parent 9e8aac990a
commit c172040e89
2 changed files with 10 additions and 3 deletions

View file

@ -5,8 +5,8 @@ data "helm_template" "cilium" {
namespace = "kube-system" namespace = "kube-system"
chart = "cilium" chart = "cilium"
repository = "https://helm.cilium.io/" repository = "https://helm.cilium.io/"
version = "1.16.0-rc.0" # TODO: optional specific version version = var.cilium_version
kube_version = "1.29" # TODO: use installed? kube_version = var.kubernetes_version
atomic = true atomic = true
# features # features

View file

@ -10,6 +10,7 @@ variable "talos_num_wk" {
variable "talos_version" { variable "talos_version" {
type = string type = string
description = "talos image version" description = "talos image version"
default = "1.8.3"
} }
variable "talos_cluster_name" { variable "talos_cluster_name" {
@ -20,7 +21,13 @@ variable "talos_cluster_name" {
variable "kubernetes_version" { variable "kubernetes_version" {
type = string type = string
description = "kubernetes image version" description = "kubernetes image version"
default = "" default = "1.31"
}
variable "cilium_version" {
type = string
description = "cilium version"
default = "1.16"
} }
variable "subdomain" { variable "subdomain" {