From 6f580e8a51b8762753300fb4ec05826e8e7b6e74 Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Tue, 16 Jan 2024 00:24:06 +0000 Subject: [PATCH] fix PingHostFromPods integration test by adding NET_RAW capabilities --- test/integration/testdata/ha/ha-pod-dns-test.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/testdata/ha/ha-pod-dns-test.yaml b/test/integration/testdata/ha/ha-pod-dns-test.yaml index 91c63a8164..12eaf9c410 100644 --- a/test/integration/testdata/ha/ha-pod-dns-test.yaml +++ b/test/integration/testdata/ha/ha-pod-dns-test.yaml @@ -25,6 +25,9 @@ spec: - sleep - "3600" imagePullPolicy: IfNotPresent + securityContext: + capabilities: + add: ["NET_RAW"] restartPolicy: Always affinity: # ⬇⬇⬇ This ensures pods will land on separate hosts