From a062d441f0bb4bf382a7bebebe8be4c48d390776 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 10 Dec 2020 18:14:54 +0000 Subject: [PATCH] Stop running Weave Net in host PID namespace We shouldn't need this --- addons/weave-net/weave-net.yaml | 2 +- pkg/apis/wksprovider/machine/os/os_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/weave-net/weave-net.yaml b/addons/weave-net/weave-net.yaml index 08170e1b..eaf24c53 100644 --- a/addons/weave-net/weave-net.yaml +++ b/addons/weave-net/weave-net.yaml @@ -177,7 +177,7 @@ items: readOnly: false hostNetwork: true dnsPolicy: ClusterFirstWithHostNet - hostPID: true + hostPID: false restartPolicy: Always securityContext: seLinuxOptions: {} diff --git a/pkg/apis/wksprovider/machine/os/os_test.go b/pkg/apis/wksprovider/machine/os/os_test.go index e6dd78c2..fecfc6ed 100644 --- a/pkg/apis/wksprovider/machine/os/os_test.go +++ b/pkg/apis/wksprovider/machine/os/os_test.go @@ -265,7 +265,7 @@ items: readOnly: false hostNetwork: true dnsPolicy: ClusterFirstWithHostNet - hostPID: true + hostPID: false restartPolicy: Always securityContext: seLinuxOptions: {}