Skip to content

Commit 3fda7f0

Browse files
committed
fix dns issue
1 parent eee69fe commit 3fda7f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rust/operator-binary/src/druid_controller.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,10 @@ fn build_rolegroup_statefulset(
12601260
),
12611261
..LabelSelector::default()
12621262
},
1263-
service_name: Some(rolegroup_ref.object_name()),
1263+
service_name: Some(format!(
1264+
"{name}-metrics",
1265+
name = rolegroup_ref.object_name()
1266+
)),
12641267
template: pod_template,
12651268
volume_claim_templates: pvcs,
12661269
..StatefulSetSpec::default()

0 commit comments

Comments
 (0)