[bitnami/rabbitmq] Replace extraPorts with extraPortsHeadless in headless service (#27853)

* [bitnami/rabbitmq] Replace extraPorts with extraPortsHeadless in headless service

Signed-off-by: Miguel Ruiz <miruiz@vmware.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>

---------

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Miguel Ruiz
2024-07-09 15:07:33 +02:00
committed by GitHub
parent 82141eb337
commit b205f7a39c
5 changed files with 18 additions and 5 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 14.4.6 (2024-07-03)
## 14.5.0 (2024-07-09)
* [bitnami/rabbitmq] Release 14.4.6 ([#27739](https://github.com/bitnami/charts/pull/27739))
* [bitnami/rabbitmq] Replace extraPorts with extraPortsHeadless in headless service ([#27853](https://github.com/bitnami/charts/pull/27853))
## <small>14.4.6 (2024-07-03)</small>
* [bitnami/rabbitmq] Release 14.4.6 (#27739) ([891935d](https://github.com/bitnami/charts/commit/891935dae482369fc75a9be9cdf13e9a148fdb3f)), closes [#27739](https://github.com/bitnami/charts/issues/27739)
## <small>14.4.5 (2024-07-03)</small>

View File

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

View File

@@ -580,6 +580,7 @@ You can enable this `initContainer` by setting `volumePermissions.enabled` to `t
| `service.nodePorts.epmd` | Node port for EPMD Discovery | `""` |
| `service.nodePorts.metrics` | Node port for RabbitMQ Prometheues metrics | `""` |
| `service.extraPorts` | Extra ports to expose in the service | `[]` |
| `service.extraPortsHeadless` | Extra ports to expose in the headless service | `[]` |
| `service.loadBalancerSourceRanges` | Address(es) that are allowed when service is `LoadBalancer` | `[]` |
| `service.allocateLoadBalancerNodePorts` | Whether to allocate node ports when service type is LoadBalancer | `true` |
| `service.externalIPs` | Set the ExternalIPs | `[]` |

View File

@@ -37,8 +37,8 @@ spec:
port: {{ .Values.service.ports.manager }}
targetPort: stats
{{- end }}
{{- if .Values.service.extraPorts }}
{{- include "common.tplvalues.render" (dict "value" .Values.service.extraPorts "context" $) | nindent 4 }}
{{- if .Values.service.extraPortsHeadless }}
{{- include "common.tplvalues.render" (dict "value" .Values.service.extraPortsHeadless "context" $) | nindent 4 }}
{{- end }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}

View File

@@ -1065,6 +1065,14 @@ service:
## targetPort: 1234
##
extraPorts: []
## @param service.extraPortsHeadless Extra ports to expose in the headless service
## E.g.:
## extraPortsHeadless:
## - name: new_svc_name
## port: 1234
## targetPort: 1234
##
extraPortsHeadless: []
## @param service.loadBalancerSourceRanges Address(es) that are allowed when service is `LoadBalancer`
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
## e.g: