Skip to content

Commit

Permalink
Merge pull request #6 from Bonial-International-GmbH/DS_fix_init
Browse files Browse the repository at this point in the history
fix: init container command
  • Loading branch information
sydorovdmytro authored Aug 14, 2023
2 parents c63bf70 + baca43f commit bdeb7f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions helm-charts/gerrit/templates/gerrit.stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bdeb7f6

Please sign in to comment.