Skip to content

Commit d5730f9

Browse files
committed
fix: remove trailing dots from node names
1 parent 44739b5 commit d5730f9

File tree

1 file changed

+1
-1
lines changed
  • rust/operator-binary/src/backend

1 file changed

+1
-1
lines changed

rust/operator-binary/src/backend/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl SecretVolumeSelector {
184184
let namespace = &self.namespace;
185185
Ok(match scope {
186186
scope::SecretScope::Node => {
187-
let mut addrs = vec![Address::Dns(pod_info.node_name.clone())];
187+
let mut addrs = vec![Address::Dns(pod_info.node_name.trim_end_matches("."))];
188188
addrs.extend(pod_info.node_ips.iter().copied().map(Address::Ip));
189189
addrs
190190
}

0 commit comments

Comments
 (0)