From 8dcfb62ad1cfc8f092daf04d745786a457764d0d Mon Sep 17 00:00:00 2001 From: Margarita Date: Mon, 20 Aug 2018 17:03:21 +0300 Subject: [PATCH] fix-protocol-for-kube-and-resource-env --- charts/solutions/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/solutions/templates/deployment.yaml b/charts/solutions/templates/deployment.yaml index eed124d..dfc3c26 100644 --- a/charts/solutions/templates/deployment.yaml +++ b/charts/solutions/templates/deployment.yaml @@ -44,14 +44,14 @@ spec: value: "{{ .Values.env.local.CH_SOLUTIONS_KUBE_API_URL }}" {{- else }} - name: CH_SOLUTIONS_KUBE_API_URL - value: "{{ .Release.Name }}-kube:1214" + value: "http://{{ .Release.Name }}-kube:1214" {{- end }} {{- if .Values.env.local.CH_SOLUTIONS_RESOURCE_URL }} - name: CH_SOLUTIONS_RESOURCE_URL value: "{{ .Values.env.local.CH_SOLUTIONS_RESOURCE_URL }}" {{- else }} - name: CH_SOLUTIONS_RESOURCE_URL - value: "{{ .Release.Name }}-resource:1213" + value: "http://{{ .Release.Name }}-resource:1213" {{- end }} {{- if .Values.env.local.CH_SOLUTIONS_PG_PASSWORD }} - name: CH_SOLUTIONS_PG_PASSWORD