From 873a3aa919704f52a23ee6941cfd2de74a84d998 Mon Sep 17 00:00:00 2001 From: portdirect Date: Mon, 5 Mar 2018 23:40:56 -0500 Subject: [PATCH] Ceph: allow fully qualified hostnames in targetted hosts This PS allows fully qualified hostnames to be addressed when using hetrogenious clusters. Change-Id: If6144067b94e28a3bea8e71e1e60bca44a809c3a Closes-Bug: 1753639 --- ceph/templates/utils/_osd_daemonset_overrides.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph/templates/utils/_osd_daemonset_overrides.tpl b/ceph/templates/utils/_osd_daemonset_overrides.tpl index dca74118bd..2247283dc1 100644 --- a/ceph/templates/utils/_osd_daemonset_overrides.tpl +++ b/ceph/templates/utils/_osd_daemonset_overrides.tpl @@ -201,7 +201,7 @@ limitations under the License. there may be other valid label names which would make for an invalid DNS-1123 name but these will be easier to handle in future with sprig regex* functions (not availabile in helm 2.5.1) */}} - {{- $name_format2 := $name_format1 | replace "_" "-" }} + {{- $name_format2 := $name_format1 | replace "_" "-" | replace "." "-" }} {{/* To account for the case where the same label is defined multiple times in overrides (but with different label values), we add a sha of the scheduling data to ensure name uniqueness */}}