Skip to content

Commit

Permalink
test: re-enable kube-proxy replacement probe mode in 4.19
Browse files Browse the repository at this point in the history
Re-enable it such that we can run CI with kube-proxy-free BPF code alongside
kube-proxy.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
  • Loading branch information
borkmann committed Jun 16, 2020
1 parent 874bb0e commit bc5e161
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/helpers/kubectl.go
Expand Up @@ -2143,14 +2143,6 @@ func (kub *Kubectl) overwriteHelmOptions(options map[string]string) error {
}
}

// Temporary workaround until https://github.com/cilium/cilium/pull/11915
// has been merged. Otherwise, the BPF verifier rejects some programs on
// the 4.19 kernel
if os.Getenv("KERNEL") == "419" {
options = addIfNotOverwritten(options, "global.kubeProxyReplacement", "partial")
options = addIfNotOverwritten(options, "global.hostServices.enabled", "true")
}

if !RunsWithKubeProxy() {
nodeIP, err := kub.GetNodeIPByLabel(K8s1, false)
if err != nil {
Expand Down

0 comments on commit bc5e161

Please sign in to comment.