Trying different patch formats
This commit is contained in:
parent
e4cf3bcae7
commit
3e50442bd9
2 changed files with 13 additions and 0 deletions
6
control_plane/patches/control-plane-patch-second.yaml
Normal file
6
control_plane/patches/control-plane-patch-second.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# patches/controlplane-patch.yaml
|
||||||
|
- op: replace
|
||||||
|
path: /machine/network/nameservers
|
||||||
|
value:
|
||||||
|
- "1.1.1.1"
|
||||||
|
- "8.8.8.8"
|
||||||
7
control_plane/patches/controlplane-patch-first.yaml
Normal file
7
control_plane/patches/controlplane-patch-first.yaml
Normal 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"
|
||||||
Loading…
Add table
Reference in a new issue