Set netns_proc_dir and docker_mode in configmap for CNI Daemon

Enable the docker_mode and set the netns_proc_dir with '/host_proc'
as the mount point defined in the cni ds definition in configmap.

Closes-Bug: #1769815
Change-Id: I7bc0e92fb69118b9a1e9b58f9cf9cb7a3ea63a39
Signed-off-by: Peng Liu <pliu@redhat.com>
This commit is contained in:
Peng Liu 2018-05-08 15:00:37 +08:00
parent 65c4620f65
commit 87fc8690b2

View File

@ -92,6 +92,9 @@ ssl_verify_server_crt = true
helper_command=privsep-helper helper_command=privsep-helper
[vif_plug_linux_bridge_privileged] [vif_plug_linux_bridge_privileged]
helper_command=privsep-helper helper_command=privsep-helper
[cni_daemon]
docker_mode = true
netns_proc_dir = /host_proc
EOF EOF
if [ ! -z $binding_driver ]; then if [ ! -z $binding_driver ]; then