From 1a62b66badfe2fe081020443dc1805ce89e0e547 Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Wed, 30 May 2018 10:56:46 -0700 Subject: Add port variable for appc cdt Adding a environment variable into the CDT container. This variable will set the port that CDT uses to connect to the APPC backend. Also changing the entry point of the CDT container to run the script that will set the port in the CDT javascript files. Change-Id: I0cba860d95a567e0cc4dd1eee322565c9d3b7d1c Signed-off-by: Patrick Brady Issue-ID: APPC-924 --- kubernetes/appc/templates/service.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'kubernetes/appc/templates') diff --git a/kubernetes/appc/templates/service.yaml b/kubernetes/appc/templates/service.yaml index 0ba73e3984..733c4ca3be 100644 --- a/kubernetes/appc/templates/service.yaml +++ b/kubernetes/appc/templates/service.yaml @@ -32,6 +32,7 @@ spec: nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort2 }} name: "{{ .Values.service.portName }}-1830" - port: {{ .Values.service.externalPort3 }} + targetPort: {{ .Values.service.internalPort3 }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort3 }} name: "{{ .Values.service.portName }}-9090" {{- else -}} -- cgit 1.2.3-korg