Skip to content

Commit 4e23555

Browse files
committed
feat(greenhouse): filter plugins by ui-plugin label
1 parent a818fb7 commit 4e23555

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

apps/greenhouse/src/hooks/useApi.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ const useApi = () => {
3636

3737
return client
3838
.get(`/apis/greenhouse.sap/v1alpha1/namespaces/${namespace}/plugins`, {
39-
// @ts-ignore
40-
limit: 500,
39+
params: {
40+
labelSelector: "greenhouse.sap/ui-plugin=true",
41+
},
4142
})
4243
.then((configs: any) => {
4344
// create config map

0 commit comments

Comments
 (0)