helm-openldap icon indicating copy to clipboard operation
helm-openldap copied to clipboard

support customSchemaFiles and extraSchemaFiles options

Open wkloucek opened this issue 8 months ago • 1 comments

What this PR does / why we need it:

The current customSchemaFiles option does a schema import via LDAP_EXTRA_SCHEMAS. I renamed this current behavior to extraSchemaFiles. It's done via ldapadd while slapd is running.

I added a new customSchemaFiles option that imports schemas via LDAP_CUSTOM_SCHEMA_DIR. It's done via slapadd while slapd is stopped.

Since the new customSchemaFiles option does not support all schemas that could be set via the current customSchemaFiles option, this change is not backwards compatible. The migration should be easy though because one just needs to use the extraSchemaFiles option instead.

Related issues:

  • I wanted to fix #104, but the core problem of it was actually fixed in #161
  • duplicates #129

Pre-submission checklist:

  • [ ] Did you explain what problem does this PR solve? Or what new features have been added?
  • [ ] Have you updated the readme?
  • [ ] Is this PR backward compatible? If it is not backward compatible, please discuss open a ticket first

wkloucek avatar Jun 04 '24 07:06 wkloucek