Fix rabbitmq in ipv6 disabled env

Change-Id: I680edbc03167dac3b4656ee7f88bfac02a390aa1
This commit is contained in:
Sadegh Hayeri 2023-07-03 20:09:52 +03:30 committed by Vladimir Kozhukalov
parent 6b6ca9e26c
commit 1dd1989fff
4 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,6 @@ apiVersion: v1
appVersion: v3.9.0
description: OpenStack-Helm RabbitMQ
name: rabbitmq
version: 0.1.27
version: 0.1.28
home: https://github.com/rabbitmq/rabbitmq-server
...

View File

@ -47,7 +47,7 @@ limitations under the License.
{{- $_ := tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup" | set $envAll.Values.conf.rabbitmq.listeners "ssl.1" -}}
{{- $_ := tuple "oslo_messaging" "internal" "https" . | include "helm-toolkit.endpoints.endpoint_port_lookup" | set $envAll.Values.conf.rabbitmq "management.ssl.port" -}}
{{- else }}
{{- $_ := print ":::" ( tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup") | set $envAll.Values.conf.rabbitmq.listeners.tcp "1" -}}
{{- $_ := print $envAll.Values.conf.bind_address ":" ( tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup") | set $envAll.Values.conf.rabbitmq.listeners.tcp "1" -}}
{{- $_ := tuple "oslo_messaging" "internal" "http" . | include "helm-toolkit.endpoints.endpoint_port_lookup" | set $envAll.Values.conf.rabbit_additonal_conf "management.listener.port" -}}
{{- end }}

View File

@ -189,6 +189,8 @@ conf:
skip_queues: "^$"
include_queues: ".*"
rabbit_exporters: "overview,exchange,node,queue"
# This IP could be IPv4/IPv6 and the tcp port will be appended to it and eventually it is set to rabbitmq.listeners.tcp.1
bind_address: "::"
rabbitmq:
listeners:
tcp:

View File

@ -27,4 +27,5 @@ rabbitmq:
- 0.1.25 Add hostPort support
- 0.1.26 Moved guest admin removal to init template
- 0.1.27 Replace node-role.kubernetes.io/master with control-plane
- 0.1.28 Add IPv6 environment support for rabbitmq
...