From 9cdbfa988f48fa454fb05442de2ae6d9cd43b414 Mon Sep 17 00:00:00 2001 From: vandomej Date: Mon, 29 Sep 2025 16:47:56 -0700 Subject: [PATCH] Replacing patch files with working one --- control_plane/patches/control-plane-patch-second.yaml | 6 ------ control_plane/patches/controlplane-patch-first.yaml | 7 ------- control_plane/patches/controlplane-patch.yaml | 11 ++++++----- 3 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 control_plane/patches/control-plane-patch-second.yaml delete 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 deleted file mode 100644 index 4d5a2be..0000000 --- a/control_plane/patches/control-plane-patch-second.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# 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 deleted file mode 100644 index 998a1bc..0000000 --- a/control_plane/patches/controlplane-patch-first.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# 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 diff --git a/control_plane/patches/controlplane-patch.yaml b/control_plane/patches/controlplane-patch.yaml index bde99b1..4d5a2be 100644 --- a/control_plane/patches/controlplane-patch.yaml +++ b/control_plane/patches/controlplane-patch.yaml @@ -1,5 +1,6 @@ -machine: - network: - nameservers: - - 1.1.1.1 - - 8.8.8.8 \ No newline at end of file +# 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