forked from gitea-group-sync/gitea-group-sync
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: complete refactor of the codebase
Signed-off-by: Janos Miko <[email protected]>
- Loading branch information
Showing
22 changed files
with
1,895 additions
and
1,412 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,5 @@ | |
# vendor/ | ||
|
||
config.yaml | ||
.env | ||
.env | ||
.env.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ Available Environment Variables (find example values in [config.yaml.sample](con | |
|---------------------------------------|---------------------------------------------------------------|--------------------| | ||
| `DEBUG` | Enable debug mode | `false` | | ||
| `GITEA_BASE_URL` | Gitea baseURL in `https://[email protected]` format. | `""` | | ||
| `GITEA_USER` | Gitea admin username | `""` | | ||
| `GITEA_USER` | Gitea admin username | `"root"` | | ||
| `GITEA_TOKEN` | Gitea admin user token | `""` | | ||
| `LDAP_URL` | LDAP connection URL | `""` | | ||
| `LDAP_PORT` | LDAP connection port | `389` | | ||
|
@@ -82,6 +82,7 @@ Available Environment Variables (find example values in [config.yaml.sample](con | |
| `LDAP_EXCLUDE_SUBGROUPS_REGEX` | Exclude groups from sync (regular expression) | `""` | | ||
| `LDAP_TRIM_PARENT_NAME` | Trim parent name from subgroup name | `false` | | ||
| `LDAP_SUBGROUP_SEPARATOR` | Trim parent name from subgroup name by this separator | `"/"` | | ||
| `CRON_ENABLED` | Enabled cron scheduler | `true` | | ||
| `CRON_TIMER` | Configure the schedule of the sync (cron format) | `"@every 1m"` | | ||
| `SYNC_CONFIG_CREATE_GROUPS` | Create non-existing groups in Gitea. | `true` | | ||
| `SYNC_CONFIG_FULL_SYNC` | Delete groups from Gitea if they are not existing in LDAP | `false` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ spec: | |
- name: GITEA_BASE_URL | ||
value: https://[email protected] | ||
- name: GITEA_USER | ||
value: "" | ||
value: "root" | ||
- name: GITEA_TOKEN | ||
valueFrom: | ||
secretKeyRef: | ||
|
Oops, something went wrong.