diff --git a/CHANGELOG.md b/CHANGELOG.md index 2365e64ed73e9de06b7009efc2494d8baf43208f..7b2490a65fc9209c9d7911e3af619bb56b90a343 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- + +## [10.6.1-bb.1] (2025-03-24) +### Changed + +- Added dynamic Network policy + ## [10.6.1-bb.0] (2025-03-18) ### Changed diff --git a/README.md b/README.md index 1db246cdcbc35de2a864988f07c934d1cac27add..fc83e64896ffcd43475d577ca1b458e73eed0b61 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. --> # mattermost -    +    Deployment of mattermost diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 0b74d43113c612aec4055f36d74087e1a062d527..10515282e87245c3a51e87773939503ec2d94a38 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: mattermost type: application -version: 10.6.1-bb.0 +version: 10.6.1-bb.1 appVersion: 10.6.1 description: "Deployment of mattermost" keywords: diff --git a/chart/templates/bigbang/networkpolicies/allow-istio-egress.yaml b/chart/templates/bigbang/networkpolicies/allow-istio-egress.yaml index 9e4284712d0b598f9b6cda1f87b22b0e7b73e493..095c2cd3dfba0eb059f5c476794c9ce1ceb70de9 100644 --- a/chart/templates/bigbang/networkpolicies/allow-istio-egress.yaml +++ b/chart/templates/bigbang/networkpolicies/allow-istio-egress.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 diff --git a/chart/templates/bigbang/networkpolicies/allow-istio-ingress.yaml b/chart/templates/bigbang/networkpolicies/allow-istio-ingress.yaml index c7d1987551c048e888db55441f6e77c5df04867a..eeb358e8f0c49dad849601e5b30c9299a2c5215f 100644 --- a/chart/templates/bigbang/networkpolicies/allow-istio-ingress.yaml +++ b/chart/templates/bigbang/networkpolicies/allow-istio-ingress.yaml @@ -14,7 +14,11 @@ spec: - from: - namespaceSelector: matchLabels: - app.kubernetes.io/name: istio-controlplane + {{- if .Values.networkPolicies.istioNamespaceSelector }} + app.kubernetes.io/name: {{ .Values.networkPolicies.istioNamespaceSelector.ingress }} + {{- else }} + app.kubernetes.io/name: "istio-controlplane" + {{- end }} podSelector: matchLabels: {{- toYaml .Values.networkPolicies.ingressLabels | nindent 12 }}