We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5059ec3 commit e36b068Copy full SHA for e36b068
charts/sourcegraph-migrator/templates/migrator/sourcegraph-migrator.Job.yaml
@@ -40,9 +40,11 @@ spec:
40
imagePullPolicy: {{ .Values.sourcegraph.image.pullPolicy }}
41
args: {{- default (list "up") .Values.migrator.args | toYaml | nindent 8 }}
42
env:
43
+ {{- if not .Values.migrator.databaseAuthOverrideEnvVars }}
44
{{- include "sourcegraph.databaseAuth" (list . "pgsql" "PG") | nindent 8 }}
45
{{- include "sourcegraph.databaseAuth" (list . "codeIntelDB" "CODEINTEL_PG") | nindent 8 }}
46
{{- include "sourcegraph.databaseAuth" (list . "codeInsightsDB" "CODEINSIGHTS_PG") | nindent 8 }}
47
+ {{- end }}
48
{{- range $name, $item := .Values.migrator.env }}
49
- name: {{ $name }}
50
{{- $item | toYaml | nindent 10 }}
0 commit comments