Added project pattern for GitLab provider to be able to filter projects on more granular level.

Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
This commit is contained in:
bnechyporenko
2022-08-02 11:56:43 +02:00
parent 4a4b9ad2de
commit 24979413a4
+17
View File
@@ -0,0 +1,17 @@
---
'@backstage/plugin-catalog-backend-module-gitlab': minor
---
Enhancing GitLab provider with filtering projects by pattern RegExp
```yaml
providers:
gitlab:
stg:
host: gitlab.stg.company.io
branch: main
projectPattern: johndoe/ <== new option
entityFilename: template.yaml
```
With the abovementioned parameter you can filter projects, and keep only who belongs to the namespace "johndoe".