From 35015385d5abc694ceafb77f232303cffcb6f2e3 Mon Sep 17 00:00:00 2001 From: Christophe Drevet Date: Wed, 11 Sep 2024 17:45:55 +0200 Subject: [PATCH] [bitnami/logstash] fix #29129 missing protocol in networkPolicy (#29277) * fix #29129 missing protocol in networkPolicy Signed-off-by: Christophe Drevet * bump chart version Signed-off-by: Christophe Drevet * Update CHANGELOG.md Signed-off-by: Bitnami Containers --------- Signed-off-by: Christophe Drevet Signed-off-by: Bitnami Containers Co-authored-by: Bitnami Containers --- bitnami/logstash/CHANGELOG.md | 8 ++++++-- bitnami/logstash/Chart.yaml | 2 +- bitnami/logstash/templates/networkpolicy.yaml | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/bitnami/logstash/CHANGELOG.md b/bitnami/logstash/CHANGELOG.md index 6454d7effe7bb9..2a21dc9047ed76 100644 --- a/bitnami/logstash/CHANGELOG.md +++ b/bitnami/logstash/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 6.3.3 (2024-09-06) +## 6.3.4 (2024-09-06) -* [bitnami/logstash] Release 6.3.3 ([#29250](https://github.com/bitnami/charts/pull/29250)) +* [bitnami/logstash] fix #29129 missing protocol in networkPolicy ([#29277](https://github.com/bitnami/charts/pull/29277)) + +## 6.3.3 (2024-09-06) + +* [bitnami/logstash] Release 6.3.3 (#29250) ([8a7a49b](https://github.com/bitnami/charts/commit/8a7a49b1f3070436c4bb0cf7074c827b16116852)), closes [#29250](https://github.com/bitnami/charts/issues/29250) ## 6.3.2 (2024-08-08) diff --git a/bitnami/logstash/Chart.yaml b/bitnami/logstash/Chart.yaml index fc376caaa09b92..17ed019c57b0ba 100644 --- a/bitnami/logstash/Chart.yaml +++ b/bitnami/logstash/Chart.yaml @@ -30,4 +30,4 @@ maintainers: name: logstash sources: - https://github.com/bitnami/charts/tree/main/bitnami/logstash -version: 6.3.3 +version: 6.3.4 diff --git a/bitnami/logstash/templates/networkpolicy.yaml b/bitnami/logstash/templates/networkpolicy.yaml index 99f4400dc806a8..f6feddee0fd013 100644 --- a/bitnami/logstash/templates/networkpolicy.yaml +++ b/bitnami/logstash/templates/networkpolicy.yaml @@ -39,9 +39,11 @@ spec: - ports: {{- range .Values.containerPorts }} - port: {{ .containerPort }} + protocol: {{ default "TCP" .protocol }} {{- end }} {{- range .Values.service.ports }} - port: {{ .port }} + protocol: {{ default "TCP" .protocol }} {{- end }} to: - podSelector: @@ -54,9 +56,11 @@ spec: - ports: {{- range .Values.containerPorts }} - port: {{ .containerPort }} + protocol: {{ default "TCP" .protocol }} {{- end }} {{- range .Values.extraContainerPorts }} - port: {{ . }} + protocol: {{ default "TCP" .protocol }} {{- end }} {{- if .Values.enableMonitoringAPI }} - port: {{ .Values.monitoringAPIPort }}