Skip to content

Commit baca43f

Browse files
committed
fix: init container command
By default it's using a wrong config file name: '/var/config/default.config.yaml' Change-Id: Id7758ad81912ebebe361c3718fbe6ee17b909f76
1 parent c63bf70 commit baca43f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

helm-charts/gerrit/templates/gerrit.stateful-set.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@ spec:
103103
- name: gerrit-init
104104
image: {{ template "registry" . }}{{ .Values.gerrit.images.gerritInit }}:{{ .Values.images.version }}
105105
imagePullPolicy: {{ .Values.images.imagePullPolicy }}
106+
command:
107+
- python3
108+
- /var/tools/gerrit-initializer
109+
- -s
110+
- /var/gerrit
111+
- -c
112+
- /var/config/gerrit-init.yaml
113+
- init
106114
env:
107115
- name: POD_NAME
108116
valueFrom:

0 commit comments

Comments
 (0)