Skip to content

Commit a152f08

Browse files
authored
chore: advertise restserver in rolegroup configmap (#708)
* feat: advertise restserver in rolegroup configmap * add changelog entry
1 parent 6fd3467 commit a152f08

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
### Added
6+
7+
- Add `hbase.rest.hostname`, `hbase.rest.port`, and `hbase.rest.info.port` properties to the restserver `hbase-site.xml` ([#708]).
8+
9+
[#708]: https://github.com/stackabletech/hbase-operator/pull/708
10+
511
## [25.11.0] - 2025-11-07
612

713
## [25.11.0-rc1] - 2025-11-06

rust/operator-binary/src/hbase_controller.rs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,20 @@ fn build_rolegroup_config_map(
591591
HBASE_REGIONSERVER_UI_PORT.to_string(),
592592
);
593593
}
594-
HbaseRole::RestServer => {}
594+
HbaseRole::RestServer => {
595+
hbase_site_config.insert(
596+
"hbase.rest.hostname".to_string(),
597+
"${env:HBASE_SERVICE_HOST}".to_string(),
598+
);
599+
hbase_site_config.insert(
600+
"hbase.rest.port".to_string(),
601+
"${env:HBASE_SERVICE_PORT}".to_string(),
602+
);
603+
hbase_site_config.insert(
604+
"hbase.rest.info.port".to_string(),
605+
"${env:HBASE_INFO_PORT}".to_string(),
606+
);
607+
}
595608
};
596609

597610
// configOverride come last

0 commit comments

Comments
 (0)