From ab14348f975e25ba65fb5e8d6004b29c1d074918 Mon Sep 17 00:00:00 2001 From: Ali Safari Date: Sun, 29 Oct 2023 10:37:04 +0330 Subject: [PATCH] Add labels to rabbitmq service Change-Id: I53d18ee535ff563d33387ba633776a060cd1d389 --- rabbitmq/Chart.yaml | 2 +- rabbitmq/templates/service.yaml | 2 ++ releasenotes/notes/rabbitmq.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rabbitmq/Chart.yaml b/rabbitmq/Chart.yaml index 82f679b7d..a58e570b7 100644 --- a/rabbitmq/Chart.yaml +++ b/rabbitmq/Chart.yaml @@ -15,6 +15,6 @@ apiVersion: v1 appVersion: v3.9.0 description: OpenStack-Helm RabbitMQ name: rabbitmq -version: 0.1.29 +version: 0.1.30 home: https://github.com/rabbitmq/rabbitmq-server ... diff --git a/rabbitmq/templates/service.yaml b/rabbitmq/templates/service.yaml index 5e6e787b1..ed7d0dba1 100644 --- a/rabbitmq/templates/service.yaml +++ b/rabbitmq/templates/service.yaml @@ -23,6 +23,8 @@ apiVersion: v1 kind: Service metadata: name: {{ tuple "oslo_messaging" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }} + labels: +{{ tuple $envAll "rabbitmq" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: clusterIP: None ports: diff --git a/releasenotes/notes/rabbitmq.yaml b/releasenotes/notes/rabbitmq.yaml index 6738671bc..be6c2bf54 100644 --- a/releasenotes/notes/rabbitmq.yaml +++ b/releasenotes/notes/rabbitmq.yaml @@ -29,4 +29,5 @@ rabbitmq: - 0.1.27 Replace node-role.kubernetes.io/master with control-plane - 0.1.28 Add IPv6 environment support for rabbitmq - 0.1.29 Add build-in prometheus plugin and disable external exporter + - 0.1.30 Add labels to rabbitmq service ...