GITLAB_TOKEN: Token for working with the Gitlab API. (e.g. glpat-xxxxx). Required value.
GITLAB_LDAP_PROVIDER: Name of the LDAP provider as configured in Gitlab's LDAP settings.
(e.g. ldapmain. You can find it in the GitLab configuration or in the Admin Area by viewing the Identities tab of an existing user from your provider). Default: ldapmain.
LDAP_GITLAB_USERS_GROUP: Group allowed to access Gitlab. Accounts are synchronized based on this group. Accounts not in this group are set to the banned state. Default value: gitlab-users.
LDAP_GITLAB_ADMIN_GROUP: Group whose members have administrator rights in Gitlab. Default value: gitlab-admins.
LDAP_GITLAB_GROUP_PREFIX: Prefix for LDAP groups used to synchronize Gitlab group members. Groups must already exist in Gitlab. Default value: gitlab-group-.
LDAP_GITLAB_PROJECT_LIMIT_GROUP_PREFIX: Prefix for LDAP groups used to synchronize Gitlab users project limit. Default value: gitlab-prlimit-.
GITLAB_GROUP_DEFAULT_ACCESS_LEVEL: Default access level for users in a group (if the group is specified without a role suffix). Allowed values: owner, maintainer, developer, reporter, guest. Default value: reporter
GITLAB_USER_DEFAULT_PROJECT_LIMIT: Default project limit for users.
Uses this value when user excluded from any {LDAP_GITLAB_PROJECT_LIMIT_PREFIX}-{LIMIT} groups.
Default value 20.
GITLAB_USER_DEFAULT_CAN_CREATE_TLG: Default value for can_create_group user flag. Default: false.
LDAP_GITLAB_USER_CAN_CREATE_TLG_GROUP: Group to allow users create top-level groups.
When value empty, sync do not perfomed. Default value ''.
JsWiki syncer parameters
SYNC_JSWIKI_ENABLED: Is sync for jswiki enabled
JSWIKI_ALLOW_DELETE_USERS: Allow to delete users. Default: true
JSWIKI_TOKEN: Token for working with the JsWiki API. (e.g. glpat-xxxxx). Required value.
JSWIKI_USERS_TZ: Default value for timezone user property. Default: Asia/Krasnoyarsk
JSWIKI_SYNC_INTERVAL: Time interval for sync. Default: 30m
LDAP_JSWIKI_USERS_GROUP: Group allowed to access JsWiki. Accounts are synchronized based on this group. Accounts not in this group are set to the banned state. Default value: jswiki-users.
LDAP_JSWIKI_ADMIN_GROUP: Group whose members have administrator rights in JsWiki. Default value: jswiki-admins.
LDAP_JSWIKI_GROUP_PREFIX: Prefix for LDAP groups used to synchronize JsWiki group members. Groups must already exist in JsWiki. Default value: jswiki-role-.
Gitlab
Gitlab Data Synchronization
Users
Are not created automatically.
The username is synchronized (From the displayName attribute).
Admin status is synchronized (Based on group membership).
Accounts are blocked (banned) if they are removed from the LDAP_GITLAB_USERS_GROUP or if their password has been expired for more than 2 days. They are unblocked if the membership condition is fulfilled and the password is not expired.
SSH keys are synchronized (From the ipaSshPubKey attribute; synchronized keys have the prefix 'FreeIPA managed key').
Accounts are deleted if they are no longer present in LDAP.
Groups
Are not created automatically.
Membership in Gitlab groups is synchronized based on LDAP groups. Access level is determined by the group name. If ACCESS_LEVEL is not specified, GITLAB_GROUP_DEFAULT_ACCESS_LEVEL env value is used as access level by default.
Nested groups follow the same group naming rules in LDAP, but all / in the group path are replaced with --.
gitlab-group-test-owner - grants owner permissions in the test group.
gitlab-group-test--nested-owner - grants owner permissions in the test/nested group.
GITLAB_USER_DEFAULT_PROJECT_LIMIT is default value for project limit.
When users belongs to many of groups for limits used biggest value.
{LDAP_GITLAB_PROJECT_LIMIT_PREFIX}-{LIMIT}
gitlab-prlimit-100000 - Set project limit for members to 100000.
JsWiki
JsWiki Data Synchronization
Users
Are not created automatically.
The timezone is ruled by syncer.
Administrators group is synchronized (Based on group membership in ldap admin group).
Accounts are blocked (banned) if they are removed from the LDAP_JSWIKI_USERS_GROUP or if their password has been expired for more than 2 days. They are unblocked if the membership condition is fulfilled and the password is not expired.
Accounts are deleted if they are no longer present in LDAP.
Groups
Are not created automatically.
Membership in JsWiki groups is synchronized based on LDAP groups.