commit | 113065463d899537c61b754954d6453f30121467 | [log] [tgz] |
---|---|---|
author | Thomas Draebing <thomas.draebing@sap.com> | Tue Jun 04 10:59:44 2019 +0200 |
committer | Thomas Draebing <thomas.draebing@sap.com> | Tue Jul 09 14:50:14 2019 +0200 |
tree | 6c3f4f318f3604c75a96503e408d530e25bcdf3e | |
parent | a8cbc3dccb2dbf22c28e87d6c584a54f73126061 [diff] |
Remove DB-validation after init, if no reviewDB is used After allowing not to use the ReviewDB there was still a DB validation after the Gerrit init, which could keep Gerrit from starting, if the gerrit.config still contained the `database`-section. Change-Id: I85ced582fa6fd737bd22f17cbaec16cf52bde7f7
diff --git a/helm-charts/gerrit-master/templates/gerrit-master.stateful-set.yaml b/helm-charts/gerrit-master/templates/gerrit-master.stateful-set.yaml index 3a2ab0b..1c8be83 100644 --- a/helm-charts/gerrit-master/templates/gerrit-master.stateful-set.yaml +++ b/helm-charts/gerrit-master/templates/gerrit-master.stateful-set.yaml
@@ -81,7 +81,9 @@ symlink_config_to_site + {{- if .Values.gerritMaster.reviewdb.enabled }} /var/tools/validate_db.py -s /var/gerrit + {{- end }} volumeMounts: - name: gerrit-site mountPath: "/var/gerrit"