Merge pull request #3 from sridhargaddam/use-iptables-from-host

Fix iptables/nftables issue
This commit is contained in:
Miguel Angel Ajo Pelayo
2019-09-05 09:56:54 +02:00
committed by GitHub
+9
View File
@@ -51,6 +51,11 @@ spec:
privileged: true privileged: true
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: 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 }} {{- with .Values.routeAgent.nodeSelector }}
nodeSelector: nodeSelector:
{{ toYaml . | indent 8 }} {{ toYaml . | indent 8 }}
@@ -63,3 +68,7 @@ spec:
affinity: affinity:
{{ toYaml . | indent 8 }} {{ toYaml . | indent 8 }}
{{- end }} {{- end }}
volumes:
- name: host-slash
hostPath:
path: /