SonarQube for OpenShift
SonarQube is a static code analysis service. Learn more about it here.
Running containers on OpenShift comes with certain security and other requirements. This repository contains:
- A Dockerfile for building an OpenShift-compatible SonarQube image
- The run scripts used in the Docker image
Prerequisites
- An account in an OpenShift 4.X environment and a project
- SonarQube requires a database to store its information. Provisioning a database is out-of-scope for this repository. If you wish to run the database on OpenShift, it is suggested that you deploy PostgreSQL using persistent storage. More information on the containerized PostgreSQL deployment tested with this project is available here.
Operator Deployment
A SonarQube Operator can be found here. Operators are the preferred way to deploy applications on Kubernetes.