Skip to content

Commit

Permalink
add kind, source, provider labels
Browse files Browse the repository at this point in the history
  • Loading branch information
theganyo committed Aug 31, 2023
1 parent 3f01e88 commit bf3593f
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 bf3593f

Please sign in to comment.