feat: Make the cluster name configurable (#1379)

This commit is contained in:
Jean-François Roy authored and GitHub committed 2024-03-20 05:51:15 -04:00
1 parent d09d856920
commit 5fa7c0d4f6
4 files changed
+6 -3

No files matched your search

@@ -5,7 +5,7 @@ talosVersion: v1.6.6
# renovate: datasource=docker depName=ghcr.io/siderolabs/kubelet
kubernetesVersion: v1.29.3
clusterName: &cluster home-kubernetes
clusterName: &cluster #{ bootstrap_cluster_name|default('home-kubernetes', true) }#
endpoint: https://#{ bootstrap_controllers_vip }#:6443
clusterPodNets:
- "#{ bootstrap_pod_network.split(',')[0] }#"
@@ -9,7 +9,7 @@ cgroup:
hostRoot: /sys/fs/cgroup
cluster:
id: 1
name: home-kubernetes
name: #{ bootstrap_cluster_name|default('home-kubernetes', true) }#
containerRuntime:
integration: containerd
#% if bootstrap_distribution in ["k3s"] %#
@@ -9,7 +9,7 @@ cgroup:
hostRoot: /sys/fs/cgroup
cluster:
id: 1
name: home-kubernetes
name: #{ bootstrap_cluster_name|default('home-kubernetes', true) }#
containerRuntime:
integration: containerd
#% if bootstrap_distribution in ["k3s"] %#
+3
View File
@@ -10,6 +10,9 @@ bootstrap_timezone: ""
# (Required) Distribution can either be k3s or talos
bootstrap_distribution: k3s
# (Optional) Cluster name; affects Cilium and Talos
bootstrap_cluster_name: ""
# (Required: Talos) Talos Specific Options
bootstrap_talos:
# (Required: Talos) If you need any additional System Extensions, and/or add kernel arguments generate a schematic ID.