From dde0fc47ff50a105710a028f6e4fbb6ea83c49fc Mon Sep 17 00:00:00 2001 From: Karuppiah Natarajan Date: Wed, 20 Oct 2021 18:30:28 +0530 Subject: [PATCH] add comment to group spec for information around creation of additional tags Signed-off-by: Karuppiah Natarajan --- azure/services/groups/spec.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure/services/groups/spec.go b/azure/services/groups/spec.go index 3f46dcd36c01..cd4a407600b9 100644 --- a/azure/services/groups/spec.go +++ b/azure/services/groups/spec.go @@ -51,11 +51,13 @@ func (s *GroupSpec) OwnerResourceName() string { func (s *GroupSpec) Parameters(existing interface{}) (interface{}, error) { if existing != nil { // rg already exists, nothing to update. - // Note that rg tags are updated separately using tags service + // Note that rg tags are updated separately using tags service. return nil, nil } return resources.Group{ Location: to.StringPtr(s.Location), + // We create only CAPZ default tags. User defined additional tags + // are created and updated using tags service. Tags: converters.TagsToMap(infrav1.Build(infrav1.BuildParams{ ClusterName: s.ClusterName, Lifecycle: infrav1.ResourceLifecycleOwned,