From 2133ff2b767fb4eff1b1907f3fff516745bf6bb6 Mon Sep 17 00:00:00 2001 From: Marco Mojica Date: Thu, 18 Jun 2020 15:47:11 -0400 Subject: [PATCH] [stable/rabbitmq-ha] Added support for extraLables in the ingress.yaml template (#22858) * Added support for extraLables in the ingress.yaml template Added support for extraLables in the ingress.yaml template. Include vesion bump Added support for extraLables in the ingress.yaml template Added support for extraLables in the ingress.yaml template. Include vesion bump Added support for extraLabels and bumped the version Signed-off-by: Marco Mojica * Added support for extraLabels and bumped the version Signed-off-by: Marco Mojica * Revert bumped version Signed-off-by: Marco Mojica * Added support for extraLabels and bumped the version Signed-off-by: Marco Mojica Revert bumped version Signed-off-by: Marco Mojica Co-authored-by: Marco Mojica Co-authored-by: Marco Mojica --- stable/rabbitmq-ha/Chart.yaml | 2 +- stable/rabbitmq-ha/templates/ingress.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/rabbitmq-ha/Chart.yaml b/stable/rabbitmq-ha/Chart.yaml index afa6b77ce4..ace12c9a94 100644 --- a/stable/rabbitmq-ha/Chart.yaml +++ b/stable/rabbitmq-ha/Chart.yaml @@ -1,7 +1,7 @@ name: rabbitmq-ha apiVersion: v1 appVersion: 3.8.5 -version: 1.46.3 +version: 1.46.4 description: Highly available RabbitMQ cluster, the open source message broker software that implements the Advanced Message Queuing Protocol (AMQP). keywords: diff --git a/stable/rabbitmq-ha/templates/ingress.yaml b/stable/rabbitmq-ha/templates/ingress.yaml index 4949948d03..6c68079e4b 100644 --- a/stable/rabbitmq-ha/templates/ingress.yaml +++ b/stable/rabbitmq-ha/templates/ingress.yaml @@ -9,6 +9,9 @@ metadata: chart: {{ template "rabbitmq-ha.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} +{{- if .Values.extraLabels }} +{{ toYaml .Values.extraLabels | indent 4 }} +{{- end }} annotations: {{- range $key, $value := .Values.ingress.annotations }} {{ $key }}: {{ $value | quote }}