❗ Please refer to KubeRocketCI documentation to get the notion of the main concepts and guidelines. |
---|
Get acquainted with the Gerrit Operator and the installation process as well as the local development, and architecture scheme.
Gerrit Operator is a KubeRocketCI operator that is responsible for installing and configuring Gerrit. Operator installation can be applied on OpenShift container orchestration platform.
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;
- KubeRocketCI project/namespace is deployed by following the Install KubeRocketCI instruction.
- Make sure Git
FSMonitor
feature is turned off. This is due to limitations ofgo-git
.
In order to install the KubeRocketCI Gerrit Operator, follow the steps below:
-
To add the Helm EPAMEDP Charts for local client, run "helm repo add":
helm repo add epamedp https://epam.github.io/edp-helm-charts/stable
-
Choose available Helm chart version:
helm search repo epamedp/gerrit-operator -l NAME CHART VERSION APP VERSION DESCRIPTION epamedp/gerrit-operator 2.21.0 2.21.0 A Helm chart for KubeRocketCI Gerrit Operator
NOTE: It is highly recommended to use the latest released version.
-
Full chart parameters available in deploy-templates/README.md.
-
Install operator in the namespace with the helm command; find below the installation command example:
helm install gerrit-operator epamedp/gerrit-operator --version <chart_version> --namespace <edp-project> --set name=gerrit-operator --set global.platform=<platform_type> --set global.dnsWildCard=<cluster_DNS_wildcard>
-
Check the namespace that should contain 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.
Development versions are also available, please refer to the snapshot Helm Chart repository page.