stitch targetRef and backwards compat inject it on read
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -42,7 +42,8 @@ const entity = (name?: string) =>
|
||||
relations: [
|
||||
{
|
||||
type: RELATION_OWNED_BY,
|
||||
target: { kind: 'Group', namespace: 'default', name },
|
||||
targetRef: `group:default/${name}`,
|
||||
target: { kind: 'group', namespace: 'default', name },
|
||||
},
|
||||
],
|
||||
} as Entity);
|
||||
|
||||
Reference in New Issue
Block a user