mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-18 01:25:58 +10:00
[bitnami/RabbitMQ] Allow to set nodePort when type is LoadBalancer for all ports (#8369)
This commit is contained in:
@@ -23,4 +23,4 @@ name: rabbitmq
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-rabbitmq
|
||||
- https://www.rabbitmq.com
|
||||
version: 8.24.11
|
||||
version: 8.24.12
|
||||
|
||||
@@ -58,7 +58,7 @@ spec:
|
||||
targetPort: epmd
|
||||
{{- if (eq .Values.service.type "ClusterIP") }}
|
||||
nodePort: null
|
||||
{{- else if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.epmdNodePort))) }}
|
||||
{{- else if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.epmdNodePort)) }}
|
||||
nodePort: {{ .Values.service.epmdNodePort }}
|
||||
{{- end }}
|
||||
- name: {{ .Values.service.distPortName }}
|
||||
@@ -66,7 +66,7 @@ spec:
|
||||
targetPort: dist
|
||||
{{- if eq .Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- else if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.distNodePort))) }}
|
||||
{{- else if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.distNodePort)) }}
|
||||
nodePort: {{ .Values.service.distNodePort }}
|
||||
{{- end }}
|
||||
{{- if .Values.service.managerPortEnabled }}
|
||||
@@ -85,7 +85,7 @@ spec:
|
||||
targetPort: metrics
|
||||
{{- if eq .Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- else if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.metricsNodePort))) }}
|
||||
{{- else if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.metricsNodePort)) }}
|
||||
nodePort: {{ .Values.service.metricsNodePort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user