| Giorgi Lekveishvili | 285ab62 | 2023-11-22 13:50:45 +0400 | [diff] [blame^] | 1 | A Gerrit replica has been deployed. |
| 2 | ================================= |
| 3 | |
| 4 | The Apache-Git-HTTP-Backend is now ready to receive replication requests from the |
| 5 | primary Gerrit. Please configure the replication plugin of the primary Gerrit to |
| 6 | push the repositories to: |
| 7 | |
| 8 | {{ if .Values.istio.enabled -}} |
| 9 | http {{- if .Values.istio.tls.enabled -}} s {{- end -}} :// {{- .Values.istio.host -}} /${name}.git |
| 10 | {{ else if .Values.ingress.enabled -}} |
| 11 | http {{- if .Values.ingress.tls.enabled -}} s {{- end -}} :// {{- .Values.ingress.host -}} /${name}.git |
| 12 | {{- else }} |
| 13 | http://<EXTERNAL-IP>: {{- .Values.gitBackend.service.http.port -}} /${name}.git |
| 14 | The external IP of the service can be found by running: |
| 15 | kubectl get svc git-backend-service |
| 16 | {{- end }} |
| 17 | |
| 18 | Project creation, project deletion and HEAD update can also be replicated. To enable |
| 19 | this feature configure the replication plugin to use an adminUrl using the format |
| 20 | `gerrit+http {{- if .Values.ingress.tls.enabled -}} s {{- end -}} :// {{- .Values.ingress.host -}}`. |
| 21 | |
| 22 | A detailed guide of how to configure Gerrit's replication plugin can be found here: |
| 23 | |
| 24 | https://gerrit.googlesource.com/plugins/replication/+doc/master/src/main/resources/Documentation/config.md |
| 25 | |
| 26 | The Gerrit replica is starting up. |
| 27 | |
| 28 | The initialization process may take some time. Afterwards the git repositories |
| 29 | will be available under: |
| 30 | |
| 31 | {{ if .Values.istio.enabled -}} |
| 32 | http {{- if .Values.istio.tls.enabled -}} s {{- end -}} :// {{- .Values.istio.host -}} /<repository-name>.git |
| 33 | {{- else }} |
| 34 | http {{- if .Values.ingress.tls.enabled -}} s {{- end -}} :// {{- .Values.ingress.host -}} /<repository-name>.git |
| 35 | {{- end }} |