From 18e37d5e133d08b3f712512ceaa0d5db26dc6cfd Mon Sep 17 00:00:00 2001 From: Itzik Brown Date: Sun, 22 Jul 2018 08:29:02 +0300 Subject: [PATCH] Using interface name in kubectl plugin In Rocky we've changed format of Pod annotations. Adding the new format in kubectl plugin Change-Id: I8933d331b15ccb7b0fa33b796537b26112bf8cf0 --- contrib/kubectl_plugins/kuryr/kuryr | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/kubectl_plugins/kuryr/kuryr b/contrib/kubectl_plugins/kuryr/kuryr index 53e34c9dc..af90f5287 100755 --- a/contrib/kubectl_plugins/kuryr/kuryr +++ b/contrib/kubectl_plugins/kuryr/kuryr @@ -132,6 +132,7 @@ def vifs(session, server, namespace, args): else: vif = json.loads(vif) + vif = vif.get('eth0', vif) network = (vif['versioned_object.data']['network'] ['versioned_object.data']) first_subnet = (network['subnets']['versioned_object.data']