From f26a26ac29c137f0a272c4f32c90cf3db3d1b1bc Mon Sep 17 00:00:00 2001 From: Vyacheslav Semin Date: Wed, 15 May 2024 15:03:15 +0300 Subject: [PATCH] Add a variable for internal api requests (#193) --- templates/configmaps/docspace.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/configmaps/docspace.yaml b/templates/configmaps/docspace.yaml index c25169e9..234bd786 100644 --- a/templates/configmaps/docspace.yaml +++ b/templates/configmaps/docspace.yaml @@ -16,6 +16,7 @@ metadata: data: ENV_EXTENSION: {{ .Values.connections.envExtension | quote }} DATABASE_MIGRATION: {{ .Values.connections.mysqlDatabaseMigration | quote }} + API_HOST: "http://{{ template "docspace.svc.router.name" . }}:{{ .Values.router.service.port.external }}" MYSQL_HOST: {{ .Values.connections.mysqlHost }} MYSQL_PORT: {{ .Values.connections.mysqlPort | quote }} MYSQL_DATABASE: {{ .Values.connections.mysqlDatabase }}