From dd97e5e2745e39b3194cca487804565a02d42d7e Mon Sep 17 00:00:00 2001 From: Branden Cobb Date: Thu, 27 May 2021 17:25:30 +0000 Subject: [PATCH 1/3] adding pod selector --- .../bigbang/networkpolicies/monitoring-ingress.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chart/templates/bigbang/networkpolicies/monitoring-ingress.yaml b/chart/templates/bigbang/networkpolicies/monitoring-ingress.yaml index 09bb738..69f1c72 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 }} -- GitLab From 58ca2aa1f8941516124f20937600b97cebff57a8 Mon Sep 17 00:00:00 2001 From: Branden Cobb Date: Thu, 27 May 2021 17:26:30 +0000 Subject: [PATCH 2/3] Update Chart.yaml --- chart/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 515f121..457eb03 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 -- GitLab From 2117a9f1f2d4d3e87bc5c947ca62dbaf6597a96d Mon Sep 17 00:00:00 2001 From: Branden Cobb Date: Thu, 27 May 2021 17:27:20 +0000 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec31ad8..3f42276 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. -- GitLab