From 52117451258c5ac4010a1f994d7ac619af778cd0 Mon Sep 17 00:00:00 2001 From: Ricardo Abreu Medeiros <37345163+ricardoamedeiros@users.noreply.github.com> Date: Sun, 5 Apr 2020 10:38:15 -0300 Subject: [PATCH 1/2] fixed bug about keep default sonar plugins. Instead of doing a check on the if, a value assignment is happening and for that reason the if is never false. --- charts/sonarqube/templates/copy-plugins.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/sonarqube/templates/copy-plugins.yaml b/charts/sonarqube/templates/copy-plugins.yaml index 2a3aafa..52d2cef 100644 --- a/charts/sonarqube/templates/copy-plugins.yaml +++ b/charts/sonarqube/templates/copy-plugins.yaml @@ -19,7 +19,7 @@ data: for original in {{ .Values.sonarqubeFolder }}/extensions/plugins/*.jar do originalfile=${original##*/} && originalfile=${originalfile%-[0-9]*} - if [ "$originalfile" = "$file" ]; then + if [ "$originalfile" == "$file" ]; then rm -f "$original" fi done From d6ceb44067ee2eba60468e29b86968c4ec884a51 Mon Sep 17 00:00:00 2001 From: Rob Kernick Date: Mon, 6 Apr 2020 14:47:09 -0400 Subject: [PATCH 2/2] Increment chart version --- charts/sonarqube/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/sonarqube/Chart.yaml b/charts/sonarqube/Chart.yaml index 31560f3..518448d 100644 --- a/charts/sonarqube/Chart.yaml +++ b/charts/sonarqube/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: sonarqube description: SonarQube is an open sourced code quality scanning tool -version: 5.3.0 +version: 5.3.1 appVersion: 8.2-community keywords: - coverage