Skip to content

Commit d1483a4

Browse files
committed
Add overrides for migrator and frontend container entrypoints
1 parent 311f182 commit d1483a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

charts/sourcegraph/templates/frontend/sourcegraph-frontend.Deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ spec:
5252
- name: migrator
5353
image: {{ include "sourcegraph.image" (list . "migrator") }}
5454
imagePullPolicy: {{ .Values.sourcegraph.image.pullPolicy }}
55+
{{- if .Values.migrator.command }}
56+
command: {{ .Values.migrator.command }}
57+
{{- end }}
5558
args: {{- default (list "up") .Values.migrator.args | toYaml | nindent 8 }}
5659
env:
5760
{{- if and (not .Values.migrator.databaseAuthOverrideEnvVars) (not .Values.sourcegraph.disableKubernetesSecrets) }}
@@ -78,6 +81,9 @@ spec:
7881
- name: frontend
7982
image: {{ include "sourcegraph.image" (list . "frontend") }}
8083
imagePullPolicy: {{ .Values.sourcegraph.image.pullPolicy }}
84+
{{- if .Values.frontend.command }}
85+
command: {{ .Values.frontend.command }}
86+
{{- end }}
8187
args: {{- default (list "serve") .Values.frontend.args | toYaml | nindent 8 }}
8288
env:
8389
{{- if not .Values.sourcegraph.disableKubernetesSecrets }}

0 commit comments

Comments
 (0)