From c26c947ebbff377e79069cfa8f5f571d66991f98 Mon Sep 17 00:00:00 2001 From: Philip Schmid Date: Mon, 6 Jan 2025 16:47:45 +0100 Subject: [PATCH] conformance: Added bpf-hostlegacyrouting option Added a configurable bpf-hostlegacyrouting option to the conformance tests as Cilium 1.16.5+ introduced a breaking change for Talos 'forwardKubeDNSToHost'. See https://github.com/cilium/cilium/pull/35098 for more details. Signed-off-by: Philip Schmid --- .github/workflows/conformance-pr.yml | 2 ++ .github/workflows/conformance.yml | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/conformance-pr.yml b/.github/workflows/conformance-pr.yml index c2f0487..a5e974f 100644 --- a/.github/workflows/conformance-pr.yml +++ b/.github/workflows/conformance-pr.yml @@ -29,6 +29,7 @@ jobs: kube-proxy-replacement: "true" socketlb: false bpf-masquerade: true + bpf-hostlegacyrouting: true ipam-mode: 'kubernetes' ipv4: true ipv6: false @@ -88,6 +89,7 @@ jobs: --set ipv4.enabled=${{ matrix.config.ipv4 }} \ --set ipv6.enabled=${{ matrix.config.ipv6 }} \ --set bpf.masquerade=${{ matrix.config.bpf-masquerade }} \ + --set bpf.hostLegacyRouting=${{ matrix.config.bpf-hostlegacyrouting }} \ --set kubeProxyReplacement=${{ matrix.config.kube-proxy-replacement }} \ --set socketLB.enabled=${{ matrix.config.socketlb }} \ --set ipam.mode=${{ matrix.config.ipam-mode }} \ diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index f690e3b..ea46d8c 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -35,6 +35,7 @@ jobs: kube-proxy-replacement: "true" socketlb: false bpf-masquerade: true + bpf-hostlegacyrouting: true ipam-mode: 'kubernetes' ipv4: true ipv6: false @@ -49,6 +50,7 @@ jobs: kube-proxy-replacement: "true" socketlb: false bpf-masquerade: true + bpf-hostlegacyrouting: true ipam-mode: 'kubernetes' ipv4: true ipv6: false @@ -63,6 +65,7 @@ jobs: kube-proxy-replacement: "false" socketlb: true bpf-masquerade: false + bpf-hostlegacyrouting: true ipam-mode: 'kubernetes' ipv4: true ipv6: false @@ -77,6 +80,7 @@ jobs: kube-proxy-replacement: "false" socketlb: true bpf-masquerade: true + bpf-hostlegacyrouting: true ipam-mode: 'kubernetes' ipv4: true ipv6: false @@ -90,6 +94,7 @@ jobs: kube-proxy-replacement: "true" socketlb: false bpf-masquerade: true + bpf-hostlegacyrouting: true ipam-mode: 'cluster-pool' ipv4: true ipv6: false @@ -104,6 +109,7 @@ jobs: kube-proxy-replacement: "true" socketlb: false bpf-masquerade: true + bpf-hostlegacyrouting: true ipam-mode: 'kubernetes' ipv4: true ipv6: false @@ -163,6 +169,7 @@ jobs: --set ipv4.enabled=${{ matrix.config.ipv4 }} \ --set ipv6.enabled=${{ matrix.config.ipv6 }} \ --set bpf.masquerade=${{ matrix.config.bpf-masquerade }} \ + --set bpf.hostLegacyRouting=${{ matrix.config.bpf-hostlegacyrouting }} \ --set kubeProxyReplacement=${{ matrix.config.kube-proxy-replacement }} \ --set socketLB.enabled=${{ matrix.config.socketlb }} \ --set ipam.mode=${{ matrix.config.ipam-mode }} \