Seeing "This entity has relations to other entities, which can't be found in the catalog. Entities not found are: group:default/default-team" warning in the Tanzu Developer Portal.
A possible cause of the waring is that there is no such a Group resource named default-team in your environment. However, you are setting default-team as the owner of catalog component. Here is a example configuration you might be using in your own environment.
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: javaweb
description: Tanzu Java Web App
tags:
- app-accelerator
- java
- spring
- web
- tanzu
annotations:
'backstage.io/kubernetes-label-selector': 'app.kubernetes.io/part-of=tanzu-java-web-app'
spec:
type: service
lifecycle: experimental
owner: default-team
Please reference https://docs.vmware.com/en/VMware-Tanzu-Application-Platform/1.12/tap/tap-gui-catalog-catalog-operations.html#users-and-groups-1 to create the required group and user resource.
Sample user entity:
apiVersion: backstage.io/v1alpha1
kind: User
metadata:
name: default-user
spec:
profile:
displayName: Default User
email: [email protected]
picture: https://avatars.dicebear.com/api/avataaars/[email protected]?background=%23fff
memberOf: [default-team]
Sample group entity:
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: default-team
description: Default Team
spec:
type: team
profile:
displayName: Default Team
email: [email protected]
picture: https://avatars.dicebear.com/api/identicon/[email protected]?background=%23fff
parent: default-org
children: []