Using interface name in kubectl plugin
In Rocky we've changed format of Pod annotations.
Adding the new format in kubectl plugin
@@ -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']
