From 722fc40b013ceb05bffcca4467e71620549de966 Mon Sep 17 00:00:00 2001 From: VyacheslavSemin Date: Wed, 15 May 2024 09:29:30 +0000 Subject: [PATCH] Add a variable for internal api requests --- 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 }}