Merge "Add hostPort support in rabbitmq"

This commit is contained in:
Zuul 2022-09-13 05:11:55 +00:00 committed by Gerrit Code Review
commit b704608be3
4 changed files with 12 additions and 1 deletions

View File

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

View File

@ -190,12 +190,21 @@ spec:
- name: {{ printf "%s" $protocol }}
protocol: TCP
containerPort: {{ tuple "oslo_messaging" "internal" $protocol . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- if .Values.network.host_namespace }}
hostPort: {{ tuple "oslo_messaging" "internal" $protocol . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- end }}
- name: amqp
protocol: TCP
containerPort: {{ tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- if .Values.network.host_namespace }}
hostPort: {{ tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- end }}
- name: clustering
protocol: TCP
containerPort: {{ add (tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup") 20000 }}
{{- if .Values.network.host_namespace }}
hostPort: {{ add (tuple "oslo_messaging" "internal" "amqp" . | include "helm-toolkit.endpoints.endpoint_port_lookup") 20000 }}
{{- end }}
env:
- name: MY_POD_NAME
valueFrom:

View File

@ -259,6 +259,7 @@ monitoring:
scrape: true
network:
host_namespace: false
management:
ingress:
public: true

View File

@ -24,4 +24,5 @@ rabbitmq:
- 0.1.22 Remove guest admin account
- 0.1.23 Fixed guest account removal
- 0.1.24 Added OCI registry authentication
- 0.1.25 Add hostPort support
...