Trying different patch formats

This commit is contained in:
vandomej 2025-09-29 16:46:06 -07:00
parent e4cf3bcae7
commit 3e50442bd9
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,6 @@
# patches/controlplane-patch.yaml
- op: replace
path: /machine/network/nameservers
value:
- "1.1.1.1"
- "8.8.8.8"

View file

@ -0,0 +1,7 @@
# patches/controlplane-patch.yaml
machine:
network:
$patch: replace # This tells Talos to replace the entire array
nameservers:
- "1.1.1.1"
- "8.8.8.8"