mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
ensure service name is always within char limit (#12034)
Signed-off-by: Faraaz Khan <faraaz@rationalizeit.us>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
09a88ab50e
commit
8ca2d5d8c9
@@ -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 "+" "_" }}
|
||||
|
||||
Reference in New Issue
Block a user