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:
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user