diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index a183eb365..6e6a4ed09 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -329,7 +329,7 @@ spec: readOnly: true {{- end }} dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true + hostNetwork: {{ .Values.hostNetwork }} serviceAccountName: {{ include "kubeshark.serviceAccountName" . }} {{- if .Values.tap.tolerations.workers }} tolerations: diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 6686cf8d1..a168c3f90 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -76,6 +76,7 @@ tap: periodSeconds: 5 successThreshold: 1 failureThreshold: 3 + hostNetwork: true serviceMesh: true tls: true disableTlsLog: true