[bitnami/rabbitmq]: add hostPort support to the chart (#31836)

* feat(rabbitmq): add hostPort support to the chart

Signed-off-by: metron2 <metron2@users.noreply.github.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: metron2 <metron2@users.noreply.github.com>
Signed-off-by: Derek Griffiths <metron2@users.noreply.github.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Derek Griffiths
2025-02-10 03:39:14 -05:00
committed by GitHub
parent bfa63352e0
commit 5bcbebf3d6
5 changed files with 36 additions and 3 deletions

View File

@@ -1,8 +1,13 @@
# Changelog
## 15.2.5 (2025-01-31)
## 15.3.0 (2025-02-09)
* [bitnami/rabbitmq] Release 15.2.5 ([#31684](https://github.com/bitnami/charts/pull/31684))
* [bitnami/rabbitmq]: add hostPort support to the chart ([#31836](https://github.com/bitnami/charts/pull/31836))
## <small>15.2.5 (2025-02-03)</small>
* [bitnami/rabbitmq] Release 15.2.5 (#31684) ([9f2b108](https://github.com/bitnami/charts/commit/9f2b108e450d4bc837335432333fde78d946c031)), closes [#31684](https://github.com/bitnami/charts/issues/31684)
* Update copyright year (#31682) ([e9f02f5](https://github.com/bitnami/charts/commit/e9f02f5007068751f7eb2270fece811e685c99b6)), closes [#31682](https://github.com/bitnami/charts/issues/31682)
## <small>15.2.4 (2025-01-25)</small>

View File

@@ -30,4 +30,4 @@ maintainers:
name: rabbitmq
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/rabbitmq
version: 15.2.5
version: 15.3.0

View File

@@ -477,6 +477,10 @@ Because they expose different sets of data, a valid use case is to scrape metric
| `containerPorts.manager` | | `15672` |
| `containerPorts.epmd` | | `4369` |
| `containerPorts.metrics` | | `9419` |
| `hostPorts.amqp` | | `""` |
| `hostPorts.amqpTls` | | `""` |
| `hostPorts.manager` | | `""` |
| `hostPorts.metrics` | | `""` |
| `initScripts` | Dictionary of init scripts. Evaluated as a template. | `{}` |
| `initScriptsCM` | ConfigMap with the init scripts. Evaluated as a template. | `""` |
| `initScriptsSecret` | Secret containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time that contain sensitive data. Evaluated as a template. | `""` |

View File

@@ -293,17 +293,29 @@ spec:
ports:
- name: amqp
containerPort: {{ .Values.containerPorts.amqp }}
{{- if .Values.hostPorts.amqp }}
hostPort: {{ .Values.hostPorts.amqp }}
{{- end }}
- name: dist
containerPort: {{ .Values.containerPorts.dist }}
- name: stats
containerPort: {{ .Values.containerPorts.manager }}
{{- if .Values.hostPorts.manager }}
hostPort: {{ .Values.hostPorts.manager }}
{{- end }}
- name: epmd
containerPort: {{ .Values.containerPorts.epmd }}
- name: metrics
containerPort: {{ .Values.containerPorts.metrics }}
{{- if .Values.hostPorts.metrics }}
hostPort: {{ .Values.hostPorts.metrics }}
{{- end }}
{{- if .Values.auth.tls.enabled }}
- name: amqp-tls
containerPort: {{ .Values.containerPorts.amqpTls }}
{{- if .Values.hostPorts.amqpTls }}
hostPort: {{ .Values.hostPorts.amqpTls }}
{{- end }}
{{- end }}
{{- if .Values.extraContainerPorts }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraContainerPorts "context" $) | nindent 12 }}

View File

@@ -352,6 +352,18 @@ containerPorts:
manager: 15672
epmd: 4369
metrics: 9419
## Host Ports
## @param hostPorts.amqp
## @param hostPorts.amqpTls
## @param hostPorts.manager
## @param hostPorts.metrics
##
hostPorts:
amqp: ""
amqpTls: ""
manager: ""
metrics: ""
## @param initScripts Dictionary of init scripts. Evaluated as a template.
## Specify dictionary of scripts to be run at first boot
## Alternatively, you can put your scripts under the files/docker-entrypoint-initdb.d directory