diff --git a/topo/node/cisco/cisco.go b/topo/node/cisco/cisco.go index e75c4f9e..2a593c33 100644 --- a/topo/node/cisco/cisco.go +++ b/topo/node/cisco/cisco.go @@ -169,6 +169,9 @@ func (n *Node) Create(ctx context.Context) error { }, }, } + for label, v := range n.GetProto().GetLabels() { + pod.ObjectMeta.Labels[label] = v + } if pb.Config.ConfigData != nil { vol, err := n.CreateConfig(ctx) if err != nil { diff --git a/topo/node/juniper/juniper.go b/topo/node/juniper/juniper.go index 1e87476b..94bd5a1c 100644 --- a/topo/node/juniper/juniper.go +++ b/topo/node/juniper/juniper.go @@ -478,6 +478,9 @@ func (n *Node) Create(ctx context.Context) error { }, }, } + for label, v := range n.GetProto().GetLabels() { + pod.ObjectMeta.Labels[label] = v + } if pb.Config.ConfigData != nil { vol, err := n.CreateConfig(ctx) if err != nil {