diff --git a/stable/rabbitmq-ha/Chart.yaml b/stable/rabbitmq-ha/Chart.yaml index 3c78951633..ad92d56f44 100644 --- a/stable/rabbitmq-ha/Chart.yaml +++ b/stable/rabbitmq-ha/Chart.yaml @@ -1,7 +1,7 @@ name: rabbitmq-ha apiVersion: v1 appVersion: 3.7.15 -version: 1.32.0 +version: 1.32.1 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/service.yaml b/stable/rabbitmq-ha/templates/service.yaml index 8a6ac8a2dd..b8738bed76 100644 --- a/stable/rabbitmq-ha/templates/service.yaml +++ b/stable/rabbitmq-ha/templates/service.yaml @@ -40,17 +40,23 @@ spec: - name: http protocol: TCP port: {{ .Values.rabbitmqManagerPort }} + {{- if eq .Values.service.type "NodePort" "LoadBalancer" }} nodePort: {{ .Values.service.managerNodePort }} + {{- end }} targetPort: http - name: amqp protocol: TCP port: {{ .Values.rabbitmqNodePort }} + {{- if eq .Values.service.type "NodePort" "LoadBalancer" }} nodePort: {{ .Values.service.amqpNodePort }} + {{- end }} targetPort: amqp - name: epmd protocol: TCP port: {{ .Values.rabbitmqEpmdPort }} + {{- if eq .Values.service.type "NodePort" "LoadBalancer" }} nodePort: {{ .Values.service.epmdNodePort }} + {{- end }} targetPort: epmd {{- if .Values.rabbitmqSTOMPPlugin.enabled }} - name: stomp-tcp