1
0
mirror of https://github.com/openvinotoolkit/cvat.git synced 2022-03-09 18:58:10 +03:00

Fixed helm not using the configured pg port when installing cvat (#4415)

This commit is contained in:
ningjunwei2
2022-03-04 19:31:32 +08:00
committed by GitHub
parent c1a137ad99
commit 14cee3d847
2 changed files with 3 additions and 0 deletions

View File

@@ -29,5 +29,6 @@ DATABASES = {
'NAME': os.getenv('CVAT_POSTGRES_DBNAME', 'cvat'),
'USER': os.getenv('CVAT_POSTGRES_USER', 'root'),
'PASSWORD': os.getenv('CVAT_POSTGRES_PASSWORD', ''),
'PORT': os.getenv('CVAT_POSTGRES_PORT', 5432),
}
}

View File

@@ -93,6 +93,8 @@ spec:
value: "{{ .Values.postgresql.external.dbname }}"
- name: CVAT_POSTGRES_PASSWORD
value: "{{ .Values.postgresql.external.password }}"
- name: CVAT_POSTGRES_PORT
value: "{{ .Values.postgresql.external.port }}"
{{- end }}
{{- with .Values.cvat.backend.additionalEnv }}
{{- toYaml . | nindent 10 }}