[bitnami/sonarqube] Sonarqube pipeline fails using sysctl on a non-root container (#11566)

* [bitnami/sonarqube] run sysctl container as user 0

Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>

* [bitnami/sonarqube] bump chart patch version

Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>
This commit is contained in:
Alberto Otero
2022-08-04 13:40:16 +02:00
committed by GitHub
parent 232ea46e82
commit 0d5264a649
2 changed files with 2 additions and 1 deletions

View File

@@ -28,4 +28,4 @@ name: sonarqube
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/sonarqube
- https://github.com/SonarSource/sonarqube
version: 1.4.7
version: 1.4.8

View File

@@ -77,6 +77,7 @@ spec:
{{- include "sonarqube.sysctl.ifLess" (dict "key" "fs.file-max" "value" "65536") | nindent 14 }}
securityContext:
privileged: true
runAsUser: 0
{{- if .Values.sysctl.resources }}
resources: {{- toYaml .Values.sysctl.resources | nindent 12 }}
{{- end }}