diff --git a/helm-charts/gerrit/templates/gerrit.stateful-set.yaml b/helm-charts/gerrit/templates/gerrit.stateful-set.yaml index 2f154d8..e1fb931 100644 --- a/helm-charts/gerrit/templates/gerrit.stateful-set.yaml +++ b/helm-charts/gerrit/templates/gerrit.stateful-set.yaml @@ -103,6 +103,14 @@ spec: - name: gerrit-init image: {{ template "registry" . }}{{ .Values.gerrit.images.gerritInit }}:{{ .Values.images.version }} imagePullPolicy: {{ .Values.images.imagePullPolicy }} + command: + - python3 + - /var/tools/gerrit-initializer + - -s + - /var/gerrit + - -c + - /var/config/gerrit-init.yaml + - init env: - name: POD_NAME valueFrom: