[bitnami/kafka] feat: conditional implementation of network policy (#35771)

* [bitnami/kafka] feat: conditional implementation of network policy

Signed-off-by: dashashutosh80 <dashashutosh80@gmail.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

---------

Signed-off-by: dashashutosh80 <dashashutosh80@gmail.com>
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
dashashutosh80
2025-08-13 19:43:02 +05:30
committed by GitHub
parent 9c5910ac12
commit dbd60d4b0d
4 changed files with 11 additions and 5 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 32.3.14 (2025-08-07)
## 32.4.0 (2025-08-13)
* [bitnami/kafka] :zap: :arrow_up: Update dependency references ([#35615](https://github.com/bitnami/charts/pull/35615))
* [bitnami/kafka] feat: conditional implementation of network policy ([#35771](https://github.com/bitnami/charts/pull/35771))
## <small>32.3.14 (2025-08-07)</small>
* [bitnami/kafka] :zap: :arrow_up: Update dependency references (#35615) ([057b964](https://github.com/bitnami/charts/commit/057b9642d17ae3cf6f5be25cdfdefdcc335c3357)), closes [#35615](https://github.com/bitnami/charts/issues/35615)
## <small>32.3.13 (2025-08-07)</small>

View File

@@ -38,4 +38,4 @@ maintainers:
name: kafka
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/kafka
version: 32.3.14
version: 32.4.0

View File

@@ -3,7 +3,8 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if .Values.networkPolicy.enabled }}
{{- $replicaCount := int .Values.broker.replicaCount }}
{{- if and .Values.networkPolicy.enabled (or (gt $replicaCount 0) .Values.broker.autoscaling.hpa.enabled) }}
kind: NetworkPolicy
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
metadata:

View File

@@ -3,7 +3,8 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if .Values.networkPolicy.enabled }}
{{- $replicaCount := int .Values.controller.replicaCount }}
{{- if and .Values.networkPolicy.enabled (or (gt $replicaCount 0) .Values.controller.autoscaling.hpa.enabled) }}
kind: NetworkPolicy
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
metadata: