From ff551902e839b72a7d574ec1feb15b0c74133988 Mon Sep 17 00:00:00 2001 From: "Christiel.podieu" <cpodieu@karthikconsulting.com> Date: Wed, 19 Mar 2025 21:07:50 -0400 Subject: [PATCH] added dynamic Network policy --- CHANGELOG.md | 6 ++++++ README.md | 2 +- chart/Chart.yaml | 2 +- chart/templates/bigbang/networkpolicies/allow-istio.yaml | 6 +++++- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7c87927..edd46156 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), --- +## [8.3.0-bb.1] - 2025-03-19 + +### Added + +- Added Dynamic Network Policy + ## [8.3.0-bb.0] - 2025-01-22 ### Added diff --git a/README.md b/README.md index 93219c15..9475a53f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ <!-- Warning: Do not manually edit this file. See notes on gluon + helm-docs at the end of this file for more information. --> # velero -  +  A Helm chart for velero diff --git a/chart/Chart.yaml b/chart/Chart.yaml index a4b418f7..db0088b7 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.15.2 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 8.3.0-bb.0 +version: 8.3.0-bb.1 home: https://github.com/vmware-tanzu/velero icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png sources: diff --git a/chart/templates/bigbang/networkpolicies/allow-istio.yaml b/chart/templates/bigbang/networkpolicies/allow-istio.yaml index 428084a0..2ee2d9e1 100644 --- a/chart/templates/bigbang/networkpolicies/allow-istio.yaml +++ b/chart/templates/bigbang/networkpolicies/allow-istio.yaml @@ -12,7 +12,11 @@ spec: - to: - namespaceSelector: matchLabels: - app.kubernetes.io/name: istio-controlplane + {{- if .Values.networkPolicies.istioNamespaceSelector }} + app.kubernetes.io/name: {{ .Values.networkPolicies.istioNamespaceSelector.egress }} + {{- else }} + app.kubernetes.io/name: "istio-controlplane" + {{- end }} podSelector: matchLabels: istio: pilot -- GitLab