mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user