Skip to content

Commit 8466780

Browse files
committed
fix: Propagate serviceAnnotations to the created Services
1 parent b01da45 commit 8466780

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ 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 ([#XXX]).
1516

1617
[#231]: https://github.com/stackabletech/listener-operator/pull/231
1718

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)