jp-gouin / helm-openldap

Helm chart of Openldap in High availability with multi-master replication and PhpLdapAdmin and Ltb-Passwd
Apache License 2.0
198 stars 118 forks source link

feat(helpers): sort schema apply sequence #161

Closed Arano-kai closed 4 months ago

Arano-kai commented 4 months ago

What this PR does / why we need it:

Custom schema filenames are inserted into LDAP_EXTRA_SCHEMAS in an unsorted fashion, causing inconsistencies every time a new schema is added, or even in a different version of the helm. This commit enable customSchemaFiles keys sorting, allowing control over the loading sequence and using dependent custom schemas.

Pre-submission checklist:

Arano-kai commented 4 months ago

Note: this PR conflicts with #129, do not forget to merge if both are accepted.