According to CNI spec kubelet expects CNI_IFNAME (the name
inside container) if sandbox is not empty.
Both python and golang implementation was done unconditionally,
IOW we can add both empty sandbox and interface name on the
host and nonempty sandbox and container's iface name.
Reviewed: https:/ /review. opendev. org/670141 /git.openstack. org/cgit/ openstack/ kuryr-kubernete s/commit/ ?id=ca222d4f5b9 ed38122ceec32d2 e98cf9abc3911f
Committed: https:/
Submitter: Zuul
Branch: master
commit ca222d4f5b9ed38 122ceec32d2e98c f9abc3911f
Author: Alexey Perevalov <email address hidden>
Date: Wed Jul 10 18:05:44 2019 +0300
Use CNI_IFNAME environment variable
According to CNI spec kubelet expects CNI_IFNAME (the name
inside container) if sandbox is not empty.
Both python and golang implementation was done unconditionally,
IOW we can add both empty sandbox and interface name on the
host and nonempty sandbox and container's iface name.
Closes-Bug: #1835038 79ee81db361cd07 2609a0a3169
Change-Id: I3f21bc0c0790bb
Signed-off-by: Alexey Perevalov <email address hidden>