Neutron's L3 agent needs to be able to load modules

Neutron invokes ip[6]tables which sometimes requires the ability to
load modules.

Change-Id: Id55bdc82e08a3aeeb19be5906b64384c36b91f6e
This commit is contained in:
Chris Wedgwood 2017-05-23 23:17:52 +00:00
parent ef6657deab
commit 0894fc9755

View File

@ -83,6 +83,9 @@ spec:
readOnly: true
- name: runopenvswitch
mountPath: /run/openvswitch
- name: libmodules
mountPath: /lib/modules
readOnly: true
- name: socket
mountPath: /var/lib/neutron/stackanetes
{{ if $mounts_neutron_l3_agent.volumeMounts }}{{ toYaml $mounts_neutron_l3_agent.volumeMounts | indent 12 }}{{ end }}
@ -96,6 +99,9 @@ spec:
- name: runopenvswitch
hostPath:
path: /run/openvswitch
- name: libmodules
hostPath:
path: /lib/modules
- name: socket
hostPath:
path: /var/lib/neutron/stackanetes