lasdf1234 opened a new pull request, #13865: URL: https://github.com/apache/gravitino/pull/13865
### What changes were proposed in this pull request? - Add `MaintenanceAuthConfigs` with optional `ConfigEntry` keys under `gravitino.maintenance.gravitinoAuth.*` and `gravitino.maintenance.ircAuth.*` - Load suffix-keyed auth bags from `gravitino.conf` and overlay onto policy `jobOptions` / `updateOptions` (auth wins on duplicate keys) - Docs in `docs/table-maintenance-service/optimizer-configuration.md` - Unit tests for config load and overlay behavior **Out of scope:** wiring the overlay into the live TMS scheduler `runJob` call site. ### Why are the changes needed? Fourth subtask of Epic #13760: cluster-static client auth must live in `gravitino.conf`, not in policy content. Fix: #13797 ### Does this PR introduce _any_ user-facing change? Yes. Operators can declare optional `gravitino.maintenance.gravitinoAuth.*` / `ircAuth.*` keys in `gravitino.conf`. Overlay into live `runJob` is not wired yet. ### How was this patch tested? ```bash ./gradlew :core:test --tests org.apache.gravitino.maintenance.policy.TestMaintenanceAuthConfigs -PskipITs ``` Made with [Cursor](https://cursor.com) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
