Skip to content

Commit c10aeb9

Browse files
REL-3880 Release SonarQube Server 2025.4.0
1 parent 5f27d5a commit c10aeb9

File tree

73 files changed

+449
-441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+449
-441
lines changed

.cirrus/tasks_env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
DOCKER_GCLOUD_SA_KEY: VAULT[development/team/sonarqube/kv/data/gcp-marketplace-registry-staging data.key]
88
GCLOUD_REGISTRY: gcr.io/sonarqube-marketplace-provider # This is the staging registry
99
GCLOUD_PRODUCT_NAME: sonarqube-dce-staging # This is the staging product name
10-
GCLOUD_TAG: 2025.3.0
10+
GCLOUD_TAG: 2025.4.0
1111
ROSA_OPENSHIFT_URL: VAULT[development/team/sonarqube/kv/data/rosa-openshift data.url]
1212
ROSA_OPENSHIFT_USER: VAULT[development/team/sonarqube/kv/data/rosa-dev data.username]
1313
ROSA_OPENSHIFT_PASSWORD: VAULT[development/team/sonarqube/kv/data/rosa-dev data.password]

charts/sonarqube-dce/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ All changes to this chart will be documented in this file.
33

44
## [2025.4.0]
55
* Update Chart's version to 2025.4.0
6+
* Upgrade SonarQube Server to to 2025.4.0
67
* Upgrade nginx subchart to 4.12.3
78
* Support Kubernetes v1.33
89
* Added validation to ensure that either the `applicationNodes.jwtSecret` or `applicationNodes.jwtExistingSecret` value is set

charts/sonarqube-dce/Chart.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: sonarqube-dce
33
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.
44
type: application
55
version: 2025.4.0
6-
appVersion: 2025.3.0
6+
appVersion: 2025.4.0
77
keywords:
88
- coverage
99
- security
@@ -27,6 +27,8 @@ annotations:
2727
artifacthub.io/changes: |
2828
- kind: changed
2929
description: "Update Chart's version to 2025.4.0"
30+
- kind: changed
31+
description: "Upgrade SonarQube Server to to 2025.4.0"
3032
- kind: changed
3133
description: "Upgrade nginx subchart to 4.12.3"
3234
- kind: changed
@@ -43,9 +45,9 @@ annotations:
4345
artifacthub.io/containsSecurityUpdates: "false"
4446
artifacthub.io/images: |
4547
- name: sonarqube-app
46-
image: sonarqube:2025.3.0-datacenter-app
48+
image: sonarqube:2025.4.0-datacenter-app
4749
- name: sonarqube-search
48-
image: sonarqube:2025.3.0-datacenter-search
50+
image: sonarqube:2025.4.0-datacenter-search
4951
charts.openshift.io/name: sonarqube-dce
5052
dependencies:
5153
- name: postgresql

charts/sonarqube-dce/README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Please note that this chart does NOT support SonarQube Community, Developer, and
1414

1515
## Compatibility
1616

17-
Compatible SonarQube Version: `2025.3.0`
17+
Compatible SonarQube Version: `2025.4.0`
1818

1919
Supported Kubernetes Versions: From `1.30` to `1.33`
2020
Supported Openshift Versions: From `4.11` to `4.17`
@@ -251,8 +251,16 @@ kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/late
251251
252252
```
253253

254+
### Upgrading the Helm chart
255+
256+
When upgrading your SonarQube instance, due to high CPU usage, it is recommended to disable the autoscaling before the upgrade process, re-enabling it afterwards.
257+
258+
You can achieve that by either setting `applicationNodes.hpa.enabled` to `false` or by setting `applicationNodes.hpa.maxReplicas` to be the same value as `applicationNodes.hpa.minReplicas`.
259+
254260
## Working with Istio
255261

262+
> SonarQube Server is tested using Istio in sidecar mode.
263+
256264
When deploying SonarQube in an Istio service mesh environment, you need to configure fixed ports for Hazelcast communication between application nodes. This is required because Istio's sidecar proxy needs to know all ports in advance for traffic management, security policies, and observability.
257265

258266
By default, SonarQube's Hazelcast cluster uses dynamic port allocation, which conflicts with Istio's requirement for explicit port declarations in service definitions and network policies. To resolve this, you must set fixed ports for the following Hazelcast communication channels:
@@ -264,18 +272,12 @@ By default, SonarQube's Hazelcast cluster uses dynamic port allocation, which co
264272

265273
```yaml
266274
applicationNodes:
267-
webPort: 9001 # Web process communication
268-
cePort: 9002 # Compute Engine process communication
275+
webPort: 4023 # Web process communication
276+
cePort: 4024 # Compute Engine process communication
269277
```
270278

271279
This ensures that Istio can properly route traffic, apply security policies, and provide telemetry for all inter-node communication within the SonarQube cluster.
272280

273-
### Upgrading the Helm chart
274-
275-
When upgrading your SonarQube instance, due to high CPU usage, it is recommended to disable the autoscaling before the upgrade process, re-enabling it afterwards.
276-
277-
You can achieve that by either setting `applicationNodes.hpa.enabled` to `false` or by setting `applicationNodes.hpa.maxReplicas` to be the same value as `applicationNodes.hpa.minReplicas`.
278-
279281
## Secure the communication within the cluster
280282

281283
In order to secure the communication between Application and Search nodes, you need to set both `nodeEncryption.enabled` and `searchNodes.searchAuthentication.enabled` to `true`.
@@ -312,7 +314,7 @@ The following table lists the configurable parameters of the SonarQube chart and
312314
| Parameter | Description | Default |
313315
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- |
314316
| `searchNodes.image.repository` | search image repository | `sonarqube` |
315-
| `searchNodes.image.tag` | search image tag | `2025.3.0-datacenter-search` |
317+
| `searchNodes.image.tag` | search image tag | `2025.4.0-datacenter-search` |
316318
| `searchNodes.image.pullPolicy` | search image pull policy | `IfNotPresent` |
317319
| `searchNodes.image.pullSecret` | (DEPRECATED) search imagePullSecret to use for private repository | `nil` |
318320
| `searchNodes.image.pullSecrets` | search imagePullSecrets to use for private repository | `nil` |
@@ -368,7 +370,7 @@ The following table lists the configurable parameters of the SonarQube chart and
368370
| Parameter | Description | Default |
369371
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
370372
| `applicationNodes.image.repository` | app image repository | `sonarqube` |
371-
| `applicationNodes.image.tag` | app image tag | `2025.3.0-datacenter-app` |
373+
| `applicationNodes.image.tag` | app image tag | `2025.4.0-datacenter-app` |
372374
| `applicationNodes.image.pullPolicy` | app image pull policy | `IfNotPresent` |
373375
| `applicationNodes.image.pullSecret` | (DEPRECATED) app imagePullSecret to use for private repository | `nil` |
374376
| `applicationNodes.image.pullSecrets` | app imagePullSecrets to use for private repository | `nil` |

charts/sonarqube-dce/ci/cirrus-values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ searchNodes:
55
replicaCount: 3
66
image:
77
repository: "sonarsource/sonarqube"
8-
tag: "2025.3.0-datacenter-search"
8+
tag: "2025.4.0-datacenter-search"
99
pullSecrets:
1010
- name: pullsecret
1111

@@ -14,7 +14,7 @@ ApplicationNodes:
1414
jwtSecret: "mnGBJtmwRbIREqy3vSw6Cinoi2WEom9JH+iw/tXOJX4="
1515
image:
1616
repository: "sonarsource/sonarqube"
17-
tag: "2025.3.0-datacenter-app"
17+
tag: "2025.4.0-datacenter-app"
1818
pullSecrets:
1919
- name: pullsecret
2020
webPort: 4023

charts/sonarqube-dce/openshift-verifier/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ searchNodes:
1313
replicaCount: 1
1414
image:
1515
repository: "sonarsource/sonarqube"
16-
tag: "2025.3.0-datacenter-search"
16+
tag: "2025.4.0-datacenter-search"
1717
pullSecrets:
1818
- name: pullsecret
1919

@@ -22,7 +22,7 @@ ApplicationNodes:
2222
jwtSecret: "dZ0EB0KxnF++nr5+4vfTCaun/eWbv6gOoXodiAMqcFo="
2323
image:
2424
repository: "sonarsource/sonarqube"
25-
tag: "2025.3.0-datacenter-app"
25+
tag: "2025.4.0-datacenter-app"
2626
pullSecrets:
2727
- name: pullsecret
2828

charts/sonarqube-dce/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
searchNodes:
66
image:
77
repository: sonarqube
8-
tag: 2025.3.0-datacenter-search
8+
tag: 2025.4.0-datacenter-search
99
pullPolicy: IfNotPresent
1010
# If using a private repository, the imagePullSecrets to use
1111
# pullSecrets:
@@ -153,7 +153,7 @@ searchNodes:
153153
applicationNodes:
154154
image:
155155
repository: sonarqube
156-
tag: 2025.3.0-datacenter-app
156+
tag: 2025.4.0-datacenter-app
157157
pullPolicy: IfNotPresent
158158
# If using a private repository, the imagePullSecrets to use
159159
# pullSecrets:

charts/sonarqube/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ All changes to this chart will be documented in this file.
33

44
## [2025.4.0]
55
* Update Chart's version to 2025.4.0
6+
* Upgrade SonarQube Server to to 2025.4.0
67
* Upgrade SonarQube Community Build to 25.7.0.110598
78
* Upgrade nginx subchart to 4.12.3
89
* Support Kubernetes v1.32

charts/sonarqube/Chart.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: sonarqube
33
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.
44
type: application
55
version: 2025.4.0
6-
appVersion: 2025.3.0
6+
appVersion: 2025.4.0
77
keywords:
88
- coverage
99
- security
@@ -32,6 +32,8 @@ annotations:
3232
artifacthub.io/changes: |
3333
- kind: changed
3434
description: "Update Chart's version to 2025.4.0"
35+
- kind: changed
36+
description: "Upgrade SonarQube Server to to 2025.4.0"
3537
- kind: changed
3638
description: "Upgrade SonarQube Community Build to 25.7.0.110598"
3739
- kind: changed
@@ -45,9 +47,9 @@ annotations:
4547
- name: sonarqube-community
4648
image: sonarqube:25.7.0.110598-community
4749
- name: sonarqube-developer
48-
image: sonarqube:2025.3.0-developer
50+
image: sonarqube:2025.4.0-developer
4951
- name: sonarqube-enterprise
50-
image: sonarqube:2025.3.0-enterprise
52+
image: sonarqube:2025.4.0-enterprise
5153
charts.openshift.io/name: sonarqube
5254
dependencies:
5355
- name: postgresql

charts/sonarqube/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Please note that this chart only supports SonarQube Server Developer and Enterpr
1414

1515
## Default Versions
1616

17-
SonarQube Server Version: `2025.3.0`
17+
SonarQube Server Version: `2025.4.0`
1818

1919
SonarQube Community Build: `25.7.0.110598`. If you want the use a more recent SonarQube Community Build, please set the `community.buildNumber` with the desired version.
2020

0 commit comments

Comments
 (0)