Skip to content

Commit 08ec610

Browse files
author
edge-katanomi-app2[bot]
committed
📚 Sync docs from alaudadevops/sonarqube-ce-operator on fe5ad3d61075cb92b1623821d4df632a62a8c50b
Source: docs: update SonarQube deployment and upgrade documentation (#122) Author: kycheng Ref: refs/heads/release-2025.1 Commit: fe5ad3d61075cb92b1623821d4df632a62a8c50b This commit automatically syncs documentation changes from the source-docs repository. 🔗 View source commit: https://github.com/alaudadevops/sonarqube-ce-operator/commit/fe5ad3d61075cb92b1623821d4df632a62a8c50b 🤖 Synced on 2025-11-05 10:09:39 UTC
1 parent f67bf1b commit 08ec610

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

‎.github/SYNC_INFO.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Documentation Sync Information
22

3-
- **Last synced**: 2025-10-16 03:06:21 UTC
3+
- **Last synced**: 2025-11-05 10:09:39 UTC
44
- **Source repository**: alaudadevops/sonarqube-ce-operator
5-
- **Source commit**: [e688ba7c63ed9258de493969ce591706e522cad1](https://github.com/alaudadevops/sonarqube-ce-operator/commit/e688ba7c63ed9258de493969ce591706e522cad1)
5+
- **Source commit**: [fe5ad3d61075cb92b1623821d4df632a62a8c50b](https://github.com/alaudadevops/sonarqube-ce-operator/commit/fe5ad3d61075cb92b1623821d4df632a62a8c50b)
66
- **Triggered by**: edge-katanomi-app2[bot]
7-
- **Workflow run**: [#23](https://github.com/alaudadevops/sonarqube-ce-operator/actions/runs/18548996265)
7+
- **Workflow run**: [#26](https://github.com/alaudadevops/sonarqube-ce-operator/actions/runs/19098442020)
88

99
## Files synced:
1010
- docs/

‎docs/en/install/03_sonarqube_deploy.md‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ apiVersion: dex.coreos.com/v1
231231
kind: OAuth2Client
232232
name: OIDC
233233
metadata:
234-
name: m5uxi3dbmiwwizlyzpzjzzeeeirsk # This value is calculated based on the hash of the id field, online calculator: https://go.dev/play/p/QsoqUohsKok
234+
name: onxw4ylsof2wezjnmrsxrs7sttsiiirdeu # This value is calculated based on the hash of the id field, online calculator: https://go.dev/play/p/QsoqUohsKok
235235
namespace: cpaas-system
236236
id: sonarqube-dex # Client id
237237
public: false
@@ -241,6 +241,15 @@ secret: Z2l0bGFiLW9mZmljaWFsLTAK # Client secret
241241
spec: {}
242242
```
243243
244+
| Field | Description | Example |
245+
|-------|-------------|---------|
246+
|name| The display name of the resource. | OIDC |
247+
|id| The client ID for SSO authentication. Any value is allowed, except alauda-dex, which is reserved and may cause conflicts.| sonarqube-dex |
248+
|secret| The client secret used for SSO authentication. Can be set to any value. | Z2l0bGFiLW9mZmljaWFsLTAK |
249+
|redirectURIs | Sonarqube authentication callback URL, formatted as `<sonarqube-host>/*`. | https://example.sonarqube.com/* |
250+
|metadata.name| The resource name, which must be calculated based on the hash of the `id` field. You can use online hash calculators such as https://go.dev/play/p/QsoqUohsKok to generate it. | onxw4ylsof2wezjnmrsxrs7sttsiiirdeu |
251+
|metadata.namespace| The platform system namespace, Must be `cpaas-system`. | cpaas-system|
252+
244253
Add the SSO configuration to the SonarQube instance:
245254

246255
```yaml

‎docs/en/upgrade/05_upgrade_to_2025.1.0.md‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44

55
This document describes how to upgrade SonarQube from version 9.9.5.1(9.9.6) to 2025.1.0. Since this upgrade involves changes in operator 4.0 version, existing SonarQube instances need to be migrated to the new version operator.
66

7-
::::tip Migration Duration
7+
::: tip Migration Duration
8+
89
- Larger databases take longer to migrate.
910
- Storage performance also affects migration speed — using TopoLVM is recommended for better performance.
1011

1112
Example:
13+
1214
- SonarQube instance: 574 projects; PostgreSQL PVC usage 87 Gi; migration time ~1 hour
13-
::::
15+
16+
:::
1417

1518
## Prerequisites
1619

@@ -65,12 +68,9 @@ type: Opaque
6568
```
6669
6770
1. Perform a complete data backup according to the [backup documentation](../howto/04_sonarqube_backup.md)
68-
6971
2. Create a new PG database for the new SonarQube instance.
70-
> It is recommended to create a new database for deploying the new SonarQube version to avoid contaminating the old database and ensure the old SonarQube can still function normally
71-
72+
> It is recommended to create a new database for deploying the new SonarQube version to avoid contaminating the old database and ensure the old SonarQube can still function normally
7273
3. Migrate the data according to the [backup documentation](../howto/04_sonarqube_backup.md)
73-
7474
4. Create a new database secret. The new version secret only needs to store the password:
7575
7676
```bash
@@ -99,7 +99,9 @@ type: Opaque
9999

100100
Choose the corresponding configuration based on the storage type used by the old SonarQube instance:
101101

102-
`kubectl get sonarqube.operator.devops.alauda.io <old-sonarqube-name> -n <old-instance-namespace> -o jsonpath='{.spec.persistence.type}'`
102+
```bash
103+
kubectl get sonarqube.operator.devops.alauda.io <old-sonarqube-name> -n <old-instance-namespace> -o jsonpath='{.spec.persistence.type}'
104+
```
103105

104106
**Using StorageClass:**
105107

0 commit comments

Comments
 (0)