Skip to content

Commit bdeb7f6

Browse files
Merge pull request #6 from Bonial-International-GmbH/DS_fix_init
fix: init container command
2 parents c63bf70 + baca43f commit bdeb7f6

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)