From 3e50442bd99e35076402f94562f19302e7134852 Mon Sep 17 00:00:00 2001 From: vandomej Date: Mon, 29 Sep 2025 16:46:06 -0700 Subject: [PATCH] Trying different patch formats --- control_plane/patches/control-plane-patch-second.yaml | 6 ++++++ control_plane/patches/controlplane-patch-first.yaml | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 control_plane/patches/control-plane-patch-second.yaml create mode 100644 control_plane/patches/controlplane-patch-first.yaml diff --git a/control_plane/patches/control-plane-patch-second.yaml b/control_plane/patches/control-plane-patch-second.yaml new file mode 100644 index 0000000..4d5a2be --- /dev/null +++ b/control_plane/patches/control-plane-patch-second.yaml @@ -0,0 +1,6 @@ +# patches/controlplane-patch.yaml +- op: replace + path: /machine/network/nameservers + value: + - "1.1.1.1" + - "8.8.8.8" \ No newline at end of file diff --git a/control_plane/patches/controlplane-patch-first.yaml b/control_plane/patches/controlplane-patch-first.yaml new file mode 100644 index 0000000..998a1bc --- /dev/null +++ b/control_plane/patches/controlplane-patch-first.yaml @@ -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" \ No newline at end of file