Turn talos patches into templates and resolve them

This commit is contained in:
2025-11-08 05:47:24 +01:00
parent 0642fde397
commit 3290a76193
11 changed files with 64 additions and 15 deletions

View File

@@ -18,6 +18,12 @@ dns:
- 1.1.1.1
- 8.8.8.8
ntp: nl.pool.ntp.org
installDisk: /dev/sda
install: false
patch: !patch
- hostname
patches:
- !patch hostname
- !patch install-disk
- !patch network
- !patch vip
patchesControlplane:
- !patch allow-controlplane-workloads

View File

@@ -1,3 +1,4 @@
netmask: 255.255.252.0
gateway: 10.0.0.1
install: true
controlplaneIp: 10.0.2.1

View File

@@ -1,2 +1,5 @@
netmask: 255.255.255.0
gateway: 192.168.1.1
clusterName: testing
controlplaneIp: 192.168.1.100
instalDisk: /dev/vda

View File

@@ -1,4 +1,4 @@
serial: talos-vm
interface: enp1s0
interface: eth0
ip: 192.168.1.2
install: true