Add hostPort support in rabbitmq
Change-Id: I0f295a80ee05e9df9c41e65e43569ecf531775c5
This commit is contained in:
parent
0224fb0f2c
commit
9b959144f0
@ -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
|
||||
...
|
||||
|
@ -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:
|
||||
|
@ -259,6 +259,7 @@ monitoring:
|
||||
scrape: true
|
||||
|
||||
network:
|
||||
host_namespace: false
|
||||
management:
|
||||
ingress:
|
||||
public: true
|
||||
|
@ -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
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user