diff --git a/CHANGELOG.md b/CHANGELOG.md index ec31ad8fc9cd7333fcc414ca2f5dfb84a598d30c..3f42276a8e0be58b77419fc08ee4f01068cb165a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ 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). --- +## [9.2.6-bb.11] - 2021-05-27 +### Modified +- Modified the bigbang monitoring network policy to be more restrictive. + ## [9.2.6-bb.10] - 2021-05-24 ### Added - Adding network policies. diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 515f121e7d03702efdfadff700b504933dfce3e7..457eb034d692dd59686dec8c7eb36924352d6373 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 8.7.1-community name: sonarqube description: SonarQube is an open sourced code quality scanning tool -version: 9.2.6-bb.10 +version: 9.2.6-bb.11 keywords: - coverage - security diff --git a/chart/templates/bigbang/networkpolicies/monitoring-ingress.yaml b/chart/templates/bigbang/networkpolicies/monitoring-ingress.yaml index 09bb73821cd03a94a3db1110406ac7fb0973f827..69f1c727c37f6a50acfd19badd66c9b79c9c56b6 100644 --- a/chart/templates/bigbang/networkpolicies/monitoring-ingress.yaml +++ b/chart/templates/bigbang/networkpolicies/monitoring-ingress.yaml @@ -13,7 +13,10 @@ spec: - namespaceSelector: matchLabels: app.kubernetes.io/name: monitoring + podSelector: + matchLabels: + app: prometheus ports: - port: {{ .Values.service.internalPort }} protocol: TCP -{{- end }} \ No newline at end of file +{{- end }}