@@ -89,7 +89,7 @@ NEXUS_STORAGE_PROVISIONER="ebs.csi.aws.com"
8989# Storage class for Nexus data, for AWS this should be "gp3-csi"
9090NEXUS_STORAGE_CLASS_DATA="gp3-csi"
9191
92- # Storage class for Nexus backup, for AWS this should be "gp2-encrypted "
92+ # Storage class for Nexus backup, for AWS this should be "csi-aws-vsc "
9393NEXUS_STORAGE_CLASS_BACKUP="csi-aws-vsc"
9494
9595# Nexus snapshot configuration, default to run daily at 2 AM
@@ -124,6 +124,8 @@ SONAR_ADMIN_PASSWORD_B64=changeme
124124# Authentication token used by sonar-scanner-cli from Jenkins pipelines.
125125# Do not change the value manually - the token is created and set automatically during "make configure-sonarqube".
126126SONAR_AUTH_TOKEN_B64=changeme
127+ # Web authetification code, needed for liveness Probe
128+ SONAR_WEB_SYSTEMPASSCODE_B64=changeme
127129
128130# Toggle authentication via SAML
129131SONAR_AUTH_SAML='true'
@@ -138,14 +140,17 @@ SONAR_SAML_CERTIFICATE_B64=changeme
138140# Image to use for the PostgreSQL database. This needs to be compatible with
139141# your SonarQube version, see https://docs.sonarqube.org/latest/requirements/requirements/.
140142# Take care when upgrading either database or SQ version.
141- # E.g. registry.redhat.io/rhel9 /postgresql-15
142- SONAR_DATABASE_IMAGE=docker- registry.default.svc:5000/openshift /postgresql:15
143+ # E.g. registry.redhat.io/rhel10 /postgresql-16
144+ SONAR_DATABASE_IMAGE=registry.redhat.io/rhel10 /postgresql-16
143145# Connection string for JDBC. Typically this does not need to be changed.
144146SONAR_DATABASE_JDBC_URL=jdbc:postgresql://sonarqube-postgresql:5432/sonarqube
145147# Database name for SonarQube. Typically this does not need to be changed.
146148SONAR_DATABASE_NAME=sonarqube
147149# Password of SonarQube database - should be set to a secure password.
148150SONAR_DATABASE_PASSWORD_B64=changeme
151+ SONAR_DATABASE_SUPER_NAME=super_sonarqube
152+ # Super Password of SonarQube database - should be set to a secure password.
153+ SONAR_DATABASE_SUPER_PASSWORD_B64=changeme
149154# User of SonarQube database. Typically this does not need to be changed.
150155SONAR_DATABASE_USER=sonarqube
151156
@@ -157,29 +162,53 @@ SONAR_EDITION=developer
157162# SonarQube version.
158163# See Dockerhub https://hub.docker.com/_/sonarqube/tags
159164# Officially supported is:
160- # - 10.8 .0
161- SONAR_VERSION=10.8 .0
165+ # - 2025.5 .0
166+ SONAR_VERSION=2025.5 .0
162167
163168# SonarQube memory and CPU resources
164- SONARQUBE_CPU_REQUEST=200m
165- SONARQUBE_MEMORY_REQUEST=2Gi
166- SONARQUBE_CPU_LIMIT=1
167- SONARQUBE_MEMORY_LIMIT=4Gi
169+ SONARQUBE_CPU_REQUEST=300m
170+ SONARQUBE_MEMORY_REQUEST=5Gi
171+ SONARQUBE_CPU_LIMIT=2
172+ SONARQUBE_MEMORY_LIMIT=5Gi
168173
169174# SonarQube data and backup capacity
170175SONARQUBE_DATA_CAPACITY=2Gi
171176SONARQUBE_EXTENSIONS_CAPACITY=1Gi
172177
173178# SonarQube database memory and CPU resources
174- SONARQUBE_DB_CPU_REQUEST=100m
175- SONARQUBE_DB_MEMORY_REQUEST=256Mi
176- SONARQUBE_DB_CPU_LIMIT=1
179+ SONARQUBE_DB_CPU_REQUEST=200m
180+ SONARQUBE_DB_MEMORY_REQUEST=512Mi
181+ SONARQUBE_DB_CPU_LIMIT=2
177182SONARQUBE_DB_MEMORY_LIMIT=512Mi
178183
179184# SonarQube database and backup capacity
180185SONARQUBE_DB_CAPACITY=2Gi
181186SONARQUBE_DB_BACKUP_CAPACITY=1Gi
182187
188+ # SonarQube data storage name
189+ SONARQUBE_DATA_STORAGE_NAME="sonarqube-data-storage"
190+
191+ # Storage class provisioner for SonarQube data, for AWS this should be "ebs.csi.aws.com"
192+ SONARQUBE_STORAGE_PROVISIONER=""
193+
194+ # Storage class for SonarQube data, for AWS this should be "gp3-csi"
195+ SONARQUBE_STORAGE_CLASS_DATA=""
196+
197+ # Storage class provisioner for fast SonarQube storage, for AWS this should be "ebs.csi.aws.com"
198+ SONARQUBE_FAST_STORAGE_PROVISIONER="ebs.csi.aws.com"
199+
200+ # Storage class for fast SonarQube data, for AWS this should be "gp3-csi"
201+ SONARQUBE_FAST_STORAGE_CLASS_DATA="gp3-csi"
202+
203+ # Storage class for fast SonarQube backup, for AWS this should be "csi-aws-vsc"
204+ SONARQUBE_FAST_STORAGE_CLASS_BACKUP="csi-aws-vsc"
205+
206+ # SonarQube backup configuration, default to run daily at 2 AM
207+ SONARQUBE_BACKUP_SCHEDULE="0 2 * * *"
208+
209+ # SonarQube DB backup TTL in days (default: 30 days)
210+ SONARQUBE_DB_BACKUP_TTL=30
211+
183212# SonarQube scan configuration
184213SONAR_SCAN_ENABLED="true"
185214SONAR_SCAN_EXCLUSIONS=".json,.xml,**/__pycache__/**,**/*.pyc,/venv/,/.venv/,/site-packages/,/node_modules/,/dist/,/build/,/out/,/coverage/,/.next/,/.parcel-cache/,/target/,/.gradle/,/.mvn/,/vendor/,/bin/,/obj/,/build/libs/,/.terraform/,/pkg/,/android/,/ios/,/www/,/target/**,/Cargo.lock,/target/,/**/*.class,/**/*.jar,/**/*.war"
0 commit comments