diff --git a/CHANGELOG.md b/CHANGELOG.md index 37dfb777664f1d096a6273a3ebf3f4bf6b5c7833..d682d3901c6437b1e9d29b8427e123c4afd37633 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/), --- +## [7.0.0-bb.5] - 2025-03-28 + +### Changed + +- Added dynamic network policy support for istio + ## [7.0.0-bb.4] - 2025-03-28 ### Changed diff --git a/README.md b/README.md index 6c5e6ce8564b1cf6d2d7ffb47825f19451b459cd..74ce9c432baddd536a537f100a051e0cdc778072 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. --> # minio-instance -    +    A Helm chart for MinIO Operator diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 9ebf2e971e284841a65f84942b3ef7e232e6e9ee..dcd66aa207c1fb03553386b5328d0904177ced42 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart for MinIO Operator name: minio-instance -version: '7.0.0-bb.4' +version: '7.0.0-bb.5' appVersion: v7.0.0 keywords: - storage diff --git a/chart/templates/bigbang/networkpolicies/istio-allow.yaml b/chart/templates/bigbang/networkpolicies/istio-allow.yaml index 01e9ba9c381b0844bfd1ce91adab58214ea3bbd7..4c465e5447ce0873815ad2717b889638f7f8f702 100644 --- a/chart/templates/bigbang/networkpolicies/istio-allow.yaml +++ b/chart/templates/bigbang/networkpolicies/istio-allow.yaml @@ -9,7 +9,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 10}} @@ -34,7 +38,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: app: istiod diff --git a/chart/templates/bigbang/networkpolicies/istio.yaml b/chart/templates/bigbang/networkpolicies/istio.yaml index 8ee2636f98c82e904eb10b99e6477e6a767adfe1..fe0ce4f57fc0fb68daa25807c8547395aed3d82d 100644 --- a/chart/templates/bigbang/networkpolicies/istio.yaml +++ b/chart/templates/bigbang/networkpolicies/istio.yaml @@ -12,7 +12,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 10}}