diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index a2a963bdd..5fb2d6a80 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.priorityClass }} priorityClassName: {{ .Values.tap.priorityClass | quote }} diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index b11e905cf..7c0e36cbe 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