diff --git a/charts/sonarqube/CHANGELOG.md b/charts/sonarqube/CHANGELOG.md index ec5ebfe15..6b6c2dd6e 100644 --- a/charts/sonarqube/CHANGELOG.md +++ b/charts/sonarqube/CHANGELOG.md @@ -1,9 +1,13 @@ # SonarQube Chart Changelog All changes to this chart will be documented in this file. -# [1.1.10] +## [1.1.11] +* fixed missing POD level security context for statefulset deployment + +## [1.1.10] * added link to community support forum * Use liveness endpoint instead of helth endpoint for liveness probe + ## [1.1.9] * fixed wrong scc user reference if name was explicitly set diff --git a/charts/sonarqube/Chart.yaml b/charts/sonarqube/Chart.yaml index 1a5ee13f8..526833757 100644 --- a/charts/sonarqube/Chart.yaml +++ b/charts/sonarqube/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: sonarqube description: SonarQube offers Code Quality and Code Security analysis for up to 27 languages. Find Bugs, Vulnerabilities, Security Hotspots and Code Smells throughout your workflow. -version: 1.1.10 +version: 1.1.11 appVersion: 9.1.0 keywords: - coverage @@ -25,6 +25,8 @@ annotations: description: "added link to community support forum" - kind: changed description: "Use liveness endpoint instead of helth endpoint for liveness probe" + - kind: fixed + description: "fixed missing POD level security context for stateful-set deployment" artifacthub.io/containsSecurityUpdates: "false" artifacthub.io/images: | - name: sonarqube diff --git a/charts/sonarqube/templates/sonarqube-sts.yaml b/charts/sonarqube/templates/sonarqube-sts.yaml index 76fdf385f..b42931ad9 100644 --- a/charts/sonarqube/templates/sonarqube-sts.yaml +++ b/charts/sonarqube/templates/sonarqube-sts.yaml @@ -45,6 +45,8 @@ spec: {{- end }} {{- end }} spec: + securityContext: +{{ toYaml .Values.securityContext | indent 8 }} {{- if .Values.image.pullSecret }} imagePullSecrets: - name: {{ .Values.image.pullSecret }}