From 3e9b7686008cf47dfca8452fd81bddcf7908c1d9 Mon Sep 17 00:00:00 2001 From: Jesse Haka Date: Thu, 16 May 2019 12:35:54 +0300 Subject: [PATCH] add kops instancegroup tag to metadata --- pkg/model/openstackmodel/servergroup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/model/openstackmodel/servergroup.go b/pkg/model/openstackmodel/servergroup.go index 0bb7605cb5bd2..c85c5c090acee 100644 --- a/pkg/model/openstackmodel/servergroup.go +++ b/pkg/model/openstackmodel/servergroup.go @@ -59,6 +59,7 @@ func (b *ServerGroupModelBuilder) buildInstances(c *fi.ModelBuilderContext, sg * igMeta[openstack.TagClusterName] = b.ClusterName() } igMeta["k8s"] = b.ClusterName() + igMeta["KopsInstanceGroup"] = ig.Name startupScript, err := b.BootstrapScript.ResourceNodeUp(ig, b.Cluster) if err != nil {