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
This commit is contained in:
portdirect 2018-03-05 23:40:56 -05:00 committed by Pete Birley
parent 766ada1091
commit 873a3aa919

View File

@ -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 */}}