Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/sonarqube/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# SonarQube Chart Changelog
All changes to this chart will be documented in this file.

## [2025.6.0]
* Update Chart's version to 2025.6.0
* Allow extraVolumeMounts and additional curl options for install-plugins initContainer

## [2025.5.0]
* Update Chart's version to 2025.5.0
* Update the image repository and readinessProbe used by postgresql after they migrated to a legacy repository
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sonarqube
description: SonarQube is a self-managed, automatic code review tool that systematically helps you deliver clean code. As a core element of our Sonar solution, SonarQube integrates into your existing workflow and detects issues in your code to help you perform continuous code inspections of your projects. The tool analyses 30+ different programming languages and integrates into your CI pipeline and DevOps platform to ensure that your code meets high-quality standards.
type: application
version: 2025.5.0
version: 2025.6.0
appVersion: 2025.4.0
keywords:
- coverage
Expand Down
2 changes: 2 additions & 0 deletions charts/sonarqube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,8 @@ The following table lists the configurable parameters of the SonarQube chart and
| `plugins.netrcCreds` | Name of the secret containing .netrc file to use creds when downloading plugins | `""` |
| `plugins.noCheckCertificate` | Flag to not check server's certificate when downloading plugins | `false` |
| `plugins.securityContext` | Security context for the container to download plugins | [Restricted podSecurityStandard](#kubernetes---pod-security-standards) |
| `plugins.extraVolumeMounts` | Additional volumeMounts for the install-plugins initContainer | `{}` |
| `plugins.curlOpts` | Additional options for the install-plugins `curl` command | `""` |

### SonarQube Specific

Expand Down
3 changes: 3 additions & 0 deletions charts/sonarqube/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ spec:
- name: plugins-netrc-file
mountPath: /root
{{- end }}
{{- with .Values.plugins.extraVolumeMounts }}
{{- toYaml . | nindent 8 }}
{{- end }}
env:
{{- with (include "sonarqube.install-plugins-proxy.env" .) }}
{{- . | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube/templates/install-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ data:
rm -f {{ .Values.sonarqubeFolder }}/extensions/plugins/*
cd {{ .Values.sonarqubeFolder }}/extensions/plugins
{{- range $index, $val := .Values.plugins.install }}
curl {{ if $.Values.plugins.noCheckCertificate }}--insecure{{ end }} {{ if $.Values.plugins.netrcCreds }}--netrc-file /root/.netrc{{ end }} -fsSLO {{ $val | quote }}
curl {{ if $.Values.plugins.noCheckCertificate }}--insecure{{ end }} {{ if $.Values.plugins.netrcCreds }}--netrc-file /root/.netrc{{ end }} {{ if $.Values.plugins.curlOpts }}{{$.Values.plugins.curlOpts}}{{ end }} -fsSLO {{ $val | quote }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/sonarqube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ plugins:
noCheckCertificate: false
# Reuse default initcontainers.securityContext that match restricted pod security standard
# securityContext: {}
# Additional volumeMounts for the install-plugins initContainer
# extraVolumeMounts: {}
# Additional options for the install-plugins curl command
# curlOpts: ""

## (DEPRECATED) The following value sets SONAR_WEB_JAVAOPTS (e.g., jvmOpts: "-Djava.net.preferIPv4Stack=true"). However, this is deprecated, please set SONAR_WEB_JAVAOPTS or sonar.web.javaOpts directly instead.
jvmOpts: ""
Expand Down