Skip to content

Commit

Permalink
add kind, source, provider labels (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
theganyo authored Aug 31, 2023
1 parent 8b26cba commit 027565d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/registry-connect/discover/apigee/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ func export(ctx context.Context, client apigee.Client) error {
},
Labels: map[string]string{
"apihub-kind": "product",
"apihub-source": "registry-connect",
"apihub-provider": "apigee",
"apihub-business-unit": label(client.Org()),
"apihub-target-users": access,
},
Expand Down Expand Up @@ -181,6 +183,8 @@ func addProxies(ctx context.Context, client apigee.Client, proxies []*api.Google
},
Labels: map[string]string{
"apihub-kind": "proxy",
"apihub-source": "registry-connect",
"apihub-provider": "apigee",
"apihub-business-unit": label(client.Org()),
},
},
Expand Down

0 comments on commit 027565d

Please sign in to comment.