From e9b2508e1a0ac779177a44deaff8936760d88e85 Mon Sep 17 00:00:00 2001 From: Ori Shavit Date: Tue, 12 Nov 2024 16:45:52 +0100 Subject: [PATCH] use dots in RFC1123 --- src/shared/serviceidresolver/serviceidentity/serviceidentity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/serviceidresolver/serviceidentity/serviceidentity.go b/src/shared/serviceidresolver/serviceidentity/serviceidentity.go index 6adcfa6cb..297e3fedc 100644 --- a/src/shared/serviceidresolver/serviceidentity/serviceidentity.go +++ b/src/shared/serviceidresolver/serviceidentity/serviceidentity.go @@ -49,7 +49,7 @@ func (si ServiceIdentity) GetNameWithKind() string { } func (si ServiceIdentity) GetRFC1123NameWithKind() string { - return strings.ReplaceAll(si.GetNameWithKind(), "_", "-") + return strings.ReplaceAll(si.GetNameWithKind(), "_", ".") } func (si ServiceIdentity) Equals(other ServiceIdentity) bool {