feat: Make the cluster name configurable (#1379)
This commit is contained in:
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
|
# renovate: datasource=docker depName=ghcr.io/siderolabs/kubelet
|
||||||
kubernetesVersion: v1.29.3
|
kubernetesVersion: v1.29.3
|
||||||
|
|
||||||
clusterName: &cluster home-kubernetes
|
clusterName: &cluster #{ bootstrap_cluster_name|default('home-kubernetes', true) }#
|
||||||
endpoint: https://#{ bootstrap_controllers_vip }#:6443
|
endpoint: https://#{ bootstrap_controllers_vip }#:6443
|
||||||
clusterPodNets:
|
clusterPodNets:
|
||||||
- "#{ bootstrap_pod_network.split(',')[0] }#"
|
- "#{ bootstrap_pod_network.split(',')[0] }#"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ cgroup:
|
|||||||
hostRoot: /sys/fs/cgroup
|
hostRoot: /sys/fs/cgroup
|
||||||
cluster:
|
cluster:
|
||||||
id: 1
|
id: 1
|
||||||
name: home-kubernetes
|
name: #{ bootstrap_cluster_name|default('home-kubernetes', true) }#
|
||||||
containerRuntime:
|
containerRuntime:
|
||||||
integration: containerd
|
integration: containerd
|
||||||
#% if bootstrap_distribution in ["k3s"] %#
|
#% if bootstrap_distribution in ["k3s"] %#
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ cgroup:
|
|||||||
hostRoot: /sys/fs/cgroup
|
hostRoot: /sys/fs/cgroup
|
||||||
cluster:
|
cluster:
|
||||||
id: 1
|
id: 1
|
||||||
name: home-kubernetes
|
name: #{ bootstrap_cluster_name|default('home-kubernetes', true) }#
|
||||||
containerRuntime:
|
containerRuntime:
|
||||||
integration: containerd
|
integration: containerd
|
||||||
#% if bootstrap_distribution in ["k3s"] %#
|
#% if bootstrap_distribution in ["k3s"] %#
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ bootstrap_timezone: ""
|
|||||||
# (Required) Distribution can either be k3s or talos
|
# (Required) Distribution can either be k3s or talos
|
||||||
bootstrap_distribution: k3s
|
bootstrap_distribution: k3s
|
||||||
|
|
||||||
|
# (Optional) Cluster name; affects Cilium and Talos
|
||||||
|
bootstrap_cluster_name: ""
|
||||||
|
|
||||||
# (Required: Talos) Talos Specific Options
|
# (Required: Talos) Talos Specific Options
|
||||||
bootstrap_talos:
|
bootstrap_talos:
|
||||||
# (Required: Talos) If you need any additional System Extensions, and/or add kernel arguments generate a schematic ID.
|
# (Required: Talos) If you need any additional System Extensions, and/or add kernel arguments generate a schematic ID.
|
||||||
|
|||||||
Reference in new issue
Block a user