❗ Please refer to EDP documentation to get the notion of the main concepts and guidelines. |
---|
Get acquainted with the Sonar Operator and the installation process as well as the local development, and architecture scheme.
Sonar Operator is an EDP operator that is responsible for installing and configuring SonarQube.
NOTE: Operator is platform-independent, that is why there is a unified instruction for deploying.
- Linux machine or Windows Subsystem for Linux instance with Helm 3 installed;
- Cluster admin access to the cluster;
- EDP project/namespace is deployed by following the Install EDP instruction.
In order to install the EDP Sonar Operator, follow the steps below:
-
To add the Helm EPAMEDP Charts for local client, run "helm repo add":
helm repo add epamedp https://chartmuseum.demo.edp-epam.com/
-
Choose available Helm chart version:
helm search repo epamedp/sonar-operator NAME CHART VERSION APP VERSION DESCRIPTION epamedp/sonar-operator v2.10.0 Helm chart for Golang application/service deplo...
NOTE: It is highly recommended to use the latest released version.
-
Deploy operator:
Full available chart parameters available in deploy-templates/README.md:
-
Install operator in the <edp_cicd_project> namespace with the helm command; find below the installation command example:
helm install sonar-operator epamedp/sonar-operator --version <chart_version> --namespace <edp_cicd_project> --set name=sonar-operator --set global.edpName=<edp_cicd_project> --set global.platform=<platform_type> --set global.dnsWildCard=<cluster_DNS_wildcard>
-
Check the <edp_cicd_project> namespace that should contain operator deployment with your operator in a running status.
In order to develop the operator, first set up a local environment. For details, please refer to the Developer Guide page.