DR-000047 - Module Configuration Management

DR-000047 - Module Configuration Management

Submitted Date

yyyy-mm-dd

Approved Date

2026-09-23

Status

ACCEPTED

Impact

MEDIUM

 

Overrides/Supersedes

N/A

RFC

0013-Module configuration management

Stakeholders

All FOLIO module development teams, Kitfox (DevOps), FSE, release management, and hosting providers / SysOps.

It is recommended that the following Slack channels be notified of this DR: #tc-rfc, #development, #folio-devops, #folio-sys-ops.

Contributors

Oleksii Petrenko Mikita Siadykh Artem Akimov Denis Kovtun Viktor Gema Drif Abdnour Roman_Fedynyshyn

Approvers

Technical Council via lazy consensus. See 2026-09-23 RFC approval, OST for Umbrellaleaf.

Background/Context

FOLIO has no standard way to describe a module's deployment configuration. Configuration is spread across environment variables, module descriptors, database entries and Helm/Kubernetes manifests, with no single source of truth. As a result, operators cannot reliably tell which configuration keys exist, which are required, or which are deprecated. Configuration also drifts between development, Bugfest and production environments.

RFC 0013 proposed a per-module configuration artifact to close this gap. It went through public review (closing 2026-08-31) and Technical Council review on 2026-09-14 and 2026-09-21, and was approved on 2026-09-23.

Assumptions

  • Development teams will create and maintain the file for their modules as part of normal development work.

  • Kitfox and FSE will own schema validation and apply configuration changes to the shared environments they operate (Rancher development environments and Bugfest).

  • Default values are calibrated against the Bugfest reference environment (currently 3 standalone tenants and 11 consortium tenants).

Constraints

  • No changes to the ModuleDescriptor or DeploymentDescriptor formats.

  • Tenant-level settings, secrets management, UI-level configuration, non-FOLIO infrastructure, and a centralized configuration registry are out of scope.

  • The file format will continue to evolve. Configuration profiles (small/medium/large) are still an unresolved question in the RFC.

Rationale

A file kept in each module's repository is the fastest route to a single source of truth. It needs no new infrastructure and is versioned alongside the code.

Extending the ModuleDescriptor was rejected because it would mix deployment configuration with interface and permission declarations. Reusing the DeploymentDescriptor was rejected because it is outdated and scheduled for decommissioning. Standardizing on an existing IaC tool (Helm, Kustomize, CUE) was rejected because hosting providers use different deployment stacks.

Full analysis is in the RFC; discussion is in the 2026-09-14, 2026-09-21 and 2026-09-23 TC meeting notes/recordings.

Decision

  1. Each FOLIO module maintains a DeployConfig.json file at the root of its repository, owned by the responsible development team. It is the single source of truth for the module's deployment configuration:

    • resource limits

    • JVM settings

    • deployment/HA recommendations

    • gateway timeouts

    • environment variables, each classified by type, whether it is essential, and its default value

    • sidecar defaults

  2. New modules must include DeployConfig.json at their first release after this decision. Existing modules should add it during the Trillium (R1 2026) CSP release cycle, starting with the modules that have the highest operational impact.

  3. The file is validated against a schema in CI (Zod). A JSON Schema for DeployConfig.json will be published alongside the GitHub Actions workflow that performs the validation, so development teams can find it.

  4. Development teams do not need approval from other teams to change their module's configuration requirements. They record the change in DeployConfig.json. For the shared environments operated by Kitfox (Rancher development environments) and FSE (Bugfest), they also raise a ticket so those teams can apply the change. Teams and hosting providers that run their own environments use DeployConfig.json as the reference. The workflow in the RFC's Appendix #1 describes current practice for the shared environments; it is not a normative process and can change without revisiting this decision.

  5. DeployConfig.json does not replace folio-helm-v2, folio-ansible or other IaC. Those tools may derive their values from it.

Implications

  • Pros

    • Operators, hosting providers and release management get one discoverable, versioned place to find what each module needs to be deployed.

    • Configuration changes are recorded at the time they are made rather than reconstructed at release time, which reduces missed or late configuration in release notes.

    • Creates the requirements base for a future centralized configuration registry.

  • Cons

    • Every module team takes on an ongoing maintenance task. If adoption is uneven, the value drops.

    • A file that drifts from actual module behavior is misleading. CI validation reduces this risk but does not check that values are correct.

    • Profiles, initial recommended values for new variables, and tracking configuration changes into development environments remain open questions (see the RFC's Unresolved Questions).

Other Related Resources