diff --git a/CHANGELOG.md b/CHANGELOG.md index ce66b5b2..b294bcb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## [Unreleased] +### Added + +- Add `hbase.rest.hostname`, `hbase.rest.port`, and `hbase.rest.info.port` properties to the restserver `hbase-site.xml` ([#708]). + +[#708]: https://github.com/stackabletech/hbase-operator/pull/708 + ## [25.11.0] - 2025-11-07 ## [25.11.0-rc1] - 2025-11-06 diff --git a/rust/operator-binary/src/hbase_controller.rs b/rust/operator-binary/src/hbase_controller.rs index 15524afd..8445d173 100644 --- a/rust/operator-binary/src/hbase_controller.rs +++ b/rust/operator-binary/src/hbase_controller.rs @@ -591,7 +591,20 @@ fn build_rolegroup_config_map( HBASE_REGIONSERVER_UI_PORT.to_string(), ); } - HbaseRole::RestServer => {} + HbaseRole::RestServer => { + hbase_site_config.insert( + "hbase.rest.hostname".to_string(), + "${env:HBASE_SERVICE_HOST}".to_string(), + ); + hbase_site_config.insert( + "hbase.rest.port".to_string(), + "${env:HBASE_SERVICE_PORT}".to_string(), + ); + hbase_site_config.insert( + "hbase.rest.info.port".to_string(), + "${env:HBASE_INFO_PORT}".to_string(), + ); + } }; // configOverride come last