Skip to content

Commit 7921ba0

Browse files
committed
fix app version
1 parent 37bcd4f commit 7921ba0

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

rust/operator-binary/src/controller.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,12 @@ pub async fn reconcile_trino(
549549
if let Some(listener_group_name) = group_listener_name(trino, &trino_role) {
550550
let role_group_listener = build_group_listener(
551551
trino,
552-
build_recommended_labels(trino, CONTROLLER_NAME, &trino_role_str, "none"),
552+
build_recommended_labels(
553+
trino,
554+
&resolved_product_image.app_version_label,
555+
&trino_role_str,
556+
"none",
557+
),
553558
listener_class.to_string(),
554559
listener_group_name,
555560
)
@@ -1001,7 +1006,7 @@ fn build_rolegroup_statefulset(
10011006
// A version value is required, and we do want to use the "recommended" format for the other desired labels
10021007
"none",
10031008
&role_group_ref.role,
1004-
"none",
1009+
&role_group_ref.role_group,
10051010
))
10061011
.context(LabelBuildSnafu)?;
10071012

0 commit comments

Comments
 (0)