From e7a4aa70b81c4d357b4c80a8ee170e9b011f95a9 Mon Sep 17 00:00:00 2001 From: Nirvan Ramjuttun Date: Tue, 7 May 2019 12:19:50 -0400 Subject: Add CDS-UI env variables to comunicate with blueprint mS Issue-ID: CCSDK-1292 Change-Id: If0535ddbf3bcdfdc35d2cd622a34197c14f5b6af Signed-off-by: Nirvan Ramjuttun --- kubernetes/cds/charts/cds-ui/templates/deployment.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'kubernetes/cds/charts/cds-ui/templates') diff --git a/kubernetes/cds/charts/cds-ui/templates/deployment.yaml b/kubernetes/cds/charts/cds-ui/templates/deployment.yaml index 134e6b7443..ead1b2edbd 100644 --- a/kubernetes/cds/charts/cds-ui/templates/deployment.yaml +++ b/kubernetes/cds/charts/cds-ui/templates/deployment.yaml @@ -50,6 +50,14 @@ spec: env: - name: HOST value: 0.0.0.0 + - name: API_BLUEPRINT_CONTROLLER_BASE_URL + value: {{ .Values.config.api.controller.baseUrl }} + - name: API_BLUEPRINT_CONTROLLER_AUTH_TOKEN + value: {{ .Values.config.api.controller.authToken }} + - name: API_BLUEPRINT_PROCESSOR_BASE_URL + value: {{ .Values.config.api.processor.baseUrl }} + - name: API_BLUEPRINT_PROCESSOR_AUTH_TOKEN + value: {{ .Values.config.api.processor.authToken }} readinessProbe: tcpSocket: port: {{ .Values.service.internalPort }} -- cgit 1.2.3-korg