Skip to content

Commit af8558e

Browse files
Merge branch 'main' into feat/service-discovery-and-exposition
2 parents 1c6e096 + f4c3059 commit af8558e

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ All notable changes to this project will be documented in this file.
1212
- Support objectOverrides using `.spec.objectOverrides`.
1313
See [objectOverrides concepts page](https://docs.stackable.tech/home/nightly/concepts/overrides/#object-overrides) for details ([#93]).
1414
- Enable the [restart-controller](https://docs.stackable.tech/home/nightly/commons-operator/restarter/), so that the Pods are automatically restarted on config changes ([#97]).
15+
- Configure OpenSearch to publish the fully-qualified domain names of the nodes instead of the IP
16+
addresses, so that TLS certificates can be verified ([#100]).
1517
- Add service discovery and exposition ([#94]):
1618
- Service to set up the cluster renamed to `<cluster-name>-seed-nodes`.
1719
- Discovery service named `<cluster-name>`, added.
@@ -35,6 +37,7 @@ All notable changes to this project will be documented in this file.
3537
[#93]: https://github.com/stackabletech/opensearch-operator/pull/93
3638
[#94]: https://github.com/stackabletech/opensearch-operator/pull/94
3739
[#97]: https://github.com/stackabletech/opensearch-operator/pull/97
40+
[#100]: https://github.com/stackabletech/opensearch-operator/pull/100
3841

3942
## [25.11.0] - 2025-11-07
4043

rust/operator-binary/src/controller/build/node_config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,14 @@ impl NodeConfig {
287287
);
288288

289289
let mut env_vars = EnvVarSet::new()
290-
// Set the OpenSearch node name to the Pod name.
291-
// The node name is used e.g. for INITIAL_CLUSTER_MANAGER_NODES.
292290
.with_field_path(
293291
// Prefix with an underscore, so that it occurs before the other environment
294292
// variables which depend on it.
295293
&EnvVarName::from_str_unsafe("_POD_NAME"),
296294
FieldPathEnvVar::Name,
297295
)
296+
// Set the OpenSearch node name to the Pod name.
297+
// The node name is used e.g. for INITIAL_CLUSTER_MANAGER_NODES.
298298
.with_field_path(
299299
&EnvVarName::from_str_unsafe(CONFIG_OPTION_NODE_NAME),
300300
FieldPathEnvVar::Name,

rust/operator-binary/src/controller/build/role_group_builder.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,7 @@ impl<'a> RoleGroupBuilder<'a> {
138138
role_group_name: role_group_name.clone(),
139139
role_group_config,
140140
context_names,
141-
resource_names: ResourceNames {
142-
cluster_name: cluster.name.clone(),
143-
role_name: ValidatedCluster::role_name(),
144-
role_group_name,
145-
},
141+
resource_names,
146142
discovery_service_listener_name,
147143
}
148144
}

0 commit comments

Comments
 (0)