From ff76a3477a2870f5b80030af84959cd80d9f1718 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 | 5 +++++ 2 files changed, 7 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..8a584da 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 @@ -90,6 +92,7 @@ jobs: kube-proxy-replacement: "true" socketlb: false bpf-masquerade: true + bpf-hostlegacyrouting: true ipam-mode: 'cluster-pool' ipv4: true ipv6: false @@ -104,6 +107,7 @@ jobs: kube-proxy-replacement: "true" socketlb: false bpf-masquerade: true + bpf-hostlegacyrouting: true ipam-mode: 'kubernetes' ipv4: true ipv6: false @@ -163,6 +167,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 }} \