From d7060ea9014c136eaf1b0b024f8ead1894fe71b9 Mon Sep 17 00:00:00 2001 From: Abhijeet Gaurav Date: Mon, 24 Jul 2023 11:40:34 +0000 Subject: [PATCH] Removed hostNetwork: true from linkerd-cni Helm chart templates Signed-off-by: Abhijeet Gaurav --- charts/linkerd2-cni/templates/cni-plugin.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/linkerd2-cni/templates/cni-plugin.yaml b/charts/linkerd2-cni/templates/cni-plugin.yaml index a50c63931027e..6f8e6cd55de56 100644 --- a/charts/linkerd2-cni/templates/cni-plugin.yaml +++ b/charts/linkerd2-cni/templates/cni-plugin.yaml @@ -57,7 +57,7 @@ spec: {{- end }} fsGroup: rule: RunAsAny - hostNetwork: true + runAsUser: rule: RunAsAny seLinux: @@ -211,7 +211,7 @@ spec: affinity: {{- include "linkerd.node-affinity" . | nindent 8 }} {{- end }} - hostNetwork: true + securityContext: seccompProfile: type: RuntimeDefault