Skip to content

Commit 3cbbac7

Browse files
authored
fix: Propagate serviceAnnotations to created Services (#234)
* fix: Propagate serviceAnnotations to the created Services * changelog
1 parent b01da45 commit 3cbbac7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ All notable changes to this project will be documented in this file.
1212

1313
- Listener.status.addresses is now de-duplicated ([#231]).
1414
- Listener controller now listens for ListenerClass updates ([#231]).
15+
- Propagate `ListenerClass.spec.serviceAnnotations` to the created Services ([#234]).
1516

1617
[#231]: https://github.com/stackabletech/listener-operator/pull/231
18+
[#234]: https://github.com/stackabletech/listener-operator/pull/234
1719

1820
## [24.7.0] - 2024-07-24
1921

rust/operator-binary/src/listener_controller.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ pub async fn reconcile(listener: Arc<Listener>, ctx: Arc<Ctx>) -> Result<control
237237
.context(BuildListenerOwnerRefSnafu)?]),
238238
// Propagate the labels from the Listener object to the Service object, so it can be found easier
239239
labels: listener.metadata.labels.clone(),
240+
annotations: Some(listener_class.spec.service_annotations),
240241
..Default::default()
241242
},
242243
spec: Some(ServiceSpec {

0 commit comments

Comments
 (0)