Skip to content
Closed
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-dce/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.7.0]
* Update Chart's version to 2025.7.0
* Support lifecycle hooks on the SonarQube container

## [2025.6.0]
* Update Chart's version to 2025.6.0

Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube-dce/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sonarqube-dce
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.6.0
version: 2025.7.0
appVersion: 2025.5.0
keywords:
- coverage
Expand Down
2 changes: 2 additions & 0 deletions charts/sonarqube-dce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ The following table lists the configurable parameters of the SonarQube chart and
| `applicationNodes.port` | The Hazelcast port for communication with each application member of the cluster. | `9003` |
| `applicationNodes.webPort` | The Hazelcast port for communication with the WebServer process. If not specified, a dynamic port will be chosen. | `` |
| `applicationNodes.cePort` | The Hazelcast port for communication with the ComputeEngine process. If not specified, a dynamic port will be chosen | `` |
| `applicationNodes.lifecycle` | Lifecycle hooks to add to the SonarQube container | `{}` |


### Generic Configuration

Expand Down
3 changes: 3 additions & 0 deletions charts/sonarqube-dce/templates/sonarqube-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,9 @@ spec:
{{- with .Values.ApplicationNodes.extraVolumeMounts -}}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.ApplicationNodes.lifecycle }}
lifecycle: {{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/sonarqube-dce/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ applicationNodes:
extraVolumes: []
extraVolumeMounts: []

## Lifecycle hooks to add to the SonarQube container
lifecycle: {}

# Define the Horizontal Pod Autoscaler for the app deployment
hpa:
enabled: false
Expand Down
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.7.0]
* Update Chart's version to 2025.7.0
* Support lifecycle hooks on the SonarQube container

## [2025.6.0]
* Update Chart's version to 2025.6.0
* Upgrade SonarQube Community Build to 25.10.0.114319
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.6.0
version: 2025.7.0
appVersion: 2025.5.0
keywords:
- coverage
Expand Down
1 change: 1 addition & 0 deletions charts/sonarqube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ The following table lists the configurable parameters of the SonarQube chart and
| `httpsProxy` | HTTPS proxy for downloading JMX agent and install plugins, will supersede initContainer specific https proxy variable | `` |
| `noProxy` | No proxy for downloading JMX agent and install plugins, will supersede initContainer specific no proxy variables | `` |
| `ingress-nginx.enabled` | Install Nginx Ingress Helm | `false` |
| `lifecycle` | Lifecycle hooks to add to the SonarQube container | `{}` |

### NetworkPolicies

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 @@ -360,6 +360,9 @@ spec:
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.lifecycle }}
lifecycle: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/sonarqube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ extraContainers: []
extraVolumes: []
extraVolumeMounts: []

## Lifecycle hooks to add to the SonarQube container
lifecycle: {}

## Provide a secret containing one or more certificate files in the keys that will be added to cacerts
## The cacerts file will be set via SONARQUBE_WEB_JVM_OPTS and SONAR_CE_JAVAOPTS
##
Expand Down