Configuring PostgreSQL and Account Access Credentials
This document describes the configuration methods for credentials required by SonarQube instances.
TOC
Prerequisites
- This document applies to SonarQube 9.9.5 and above versions provided by the platform. It is decoupled from the platform using technologies such as Operator.
PostgreSQL Credentials
Create a Secret, select the Opaque type, and add and fill in the following fields in the configuration items:
YAML example:
How to Create a Database on a PG Instance
Connect to the PG instance using the psql cli and execute the following command to create a database:
SonarQube Account Credentials
The default login username is admin and the password must meet the following requirements:
- At least 12 characters
- Include 1 uppercase letter
- Include 1 lowercase letter
- Include 1 number
- Include 1 special character
Create a Secret, using the Opaque type, and add a password field in the configuration items: