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