When using the gitlab connector, the base_url key is ignored and gitlab.com is used instead. Using the GITLAB_URL environment variable is a workaround but we would like to use the base_url
root@oikb-69c9588cfc-m2nr8:/data# cd /app
root@oikb-69c9588cfc-m2nr8:/app# cat .oikb.yaml
sources:
- name: test2
source: gitlab:owner/code
base_url: https://gitlab.mybaseurl.com
kb-id: 91f700d3-597f-4010-8ea3-3d16b6929bbb
interval: 1m
root@oikb-69c9588cfc-m2nr8:/app# oikb sync
────────────────────────────────────────
Syncing: gitlab:owner/code → 91f700d3-597f-4010-8ea3-3d16b6929bbb
Failed: Client error '401 Unauthorized' for url 'https://gitlab.com/api/v4/projects/owner%2Fcode'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
When using the gitlab connector, the base_url key is ignored and gitlab.com is used instead. Using the GITLAB_URL environment variable is a workaround but we would like to use the base_url