diff --git a/submariner/templates/route-agent-ds.yaml b/submariner/templates/route-agent-ds.yaml index d21b0f9..dc07dbc 100644 --- a/submariner/templates/route-agent-ds.yaml +++ b/submariner/templates/route-agent-ds.yaml @@ -47,6 +47,11 @@ spec: privileged: true readOnlyRootFilesystem: false runAsNonRoot: false + volumeMounts: + # Because we don't actually run iptables locally, but chroot in to the host + - mountPath: /host + name: host-slash + readOnly: true {{- with .Values.routeAgent.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} @@ -58,4 +63,8 @@ spec: {{- with .Values.routeAgent.affinity }} affinity: {{ toYaml . | indent 8 }} -{{- end }} \ No newline at end of file +{{- end }} + volumes: + - name: host-slash + hostPath: + path: /