mirror of
https://github.com/bitnami/charts.git
synced 2026-02-10 20:27:38 +08:00
[bitnami/logstash] Fix headless service does not include extra ports (#33055)
* [bitnami/logstash] Fix headless service does not include ports from `.service.extraPorts` Signed-off-by: Christian Raoulis <Christian.Raoulis@telekom.de> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * [bitnami/logstash] Fix networkpolicy uses the whole extraContainerPorts entry instead of the `.containerPort` value of the entry Signed-off-by: Christian Raoulis <Christian.Raoulis@telekom.de> --------- Signed-off-by: Christian Raoulis <Christian.Raoulis@telekom.de> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Christian Raoulis <Christian.Raoulis@telekom.de> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 6.4.7 (2025-04-15)
|
||||
## 6.4.8 (2025-04-17)
|
||||
|
||||
* [bitnami/logstash] Release 6.4.7 ([#33013](https://github.com/bitnami/charts/pull/33013))
|
||||
* [bitnami/logstash] Fix headless service does not include extra ports ([#33055](https://github.com/bitnami/charts/pull/33055))
|
||||
|
||||
## <small>6.4.7 (2025-04-15)</small>
|
||||
|
||||
* [bitnami/logstash] Release 6.4.7 (#33013) ([aee7e22](https://github.com/bitnami/charts/commit/aee7e221de53c9dd8cb455527b4c37b8bda53af2)), closes [#33013](https://github.com/bitnami/charts/issues/33013)
|
||||
|
||||
## <small>6.4.6 (2025-03-25)</small>
|
||||
|
||||
|
||||
@@ -31,4 +31,4 @@ maintainers:
|
||||
name: logstash
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/logstash
|
||||
version: 6.4.7
|
||||
version: 6.4.8
|
||||
|
||||
@@ -20,5 +20,10 @@ spec:
|
||||
{{- range $port := .Values.service.ports }}
|
||||
- {{- omit (include "common.tplvalues.render" ( dict "value" $port "context" $ ) | fromYaml) "nodePort" | toYaml | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.service.extraPorts }}
|
||||
{{- range $port := .Values.service.extraPorts }}
|
||||
- {{- omit (include "common.tplvalues.render" ( dict "value" $port "context" $ ) | fromYaml) "nodePort" | toYaml | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- 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 }}
|
||||
|
||||
@@ -59,7 +59,7 @@ spec:
|
||||
protocol: {{ default "TCP" .protocol }}
|
||||
{{- end }}
|
||||
{{- range .Values.extraContainerPorts }}
|
||||
- port: {{ . }}
|
||||
- port: {{ .containerPort }}
|
||||
protocol: {{ default "TCP" .protocol }}
|
||||
{{- end }}
|
||||
{{- if .Values.enableMonitoringAPI }}
|
||||
|
||||
Reference in New Issue
Block a user