ensure service name is always within char limit (#12034)

Signed-off-by: Faraaz Khan <faraaz@rationalizeit.us>
This commit is contained in:
Faraaz Khan
2019-03-20 16:45:37 -07:00
committed by Kubernetes Prow Robot
parent 09a88ab50e
commit 8ca2d5d8c9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: rabbitmq-ha
apiVersion: v1
appVersion: 3.7.12
version: 1.22.1
version: 1.22.2
description: Highly available RabbitMQ cluster, the open source message broker
software that implements the Advanced Message Queuing Protocol (AMQP).
keywords:
@@ -6,7 +6,7 @@ metadata:
{{- if .Values.service.annotations }}
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
name: {{ template "rabbitmq-ha.fullname" . }}-discovery
name: {{ printf "%s-discovery" (include "rabbitmq-ha.fullname" .) | trunc 63 | trimSuffix "-" }}
labels:
app: {{ template "rabbitmq-ha.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}