aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/charts/appc-cdt/templates
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2019-03-03 13:09:56 -0500
committerTaka Cho <takamune.cho@att.com>2019-03-07 12:59:32 -0500
commit2fb02610e87e511effac28cbf666862a3f75c2bb (patch)
tree27372847eceeb65a9dba96192020f5cc21bdb9c7 /kubernetes/appc/charts/appc-cdt/templates
parentc96b971a70744f6eeb2eb360345fe0478ed9a3e6 (diff)
move non-root id run for CDT container
change port 80 to 18080 for non-root user Change-Id: Ib1e987b6aaf537df4d1b08797b928aa0b116fab0 Issue-ID: APPC-1519 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'kubernetes/appc/charts/appc-cdt/templates')
-rw-r--r--kubernetes/appc/charts/appc-cdt/templates/service.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/appc/charts/appc-cdt/templates/service.yaml b/kubernetes/appc/charts/appc-cdt/templates/service.yaml
index 735e0f510a..3e0b8894c6 100644
--- a/kubernetes/appc/charts/appc-cdt/templates/service.yaml
+++ b/kubernetes/appc/charts/appc-cdt/templates/service.yaml
@@ -28,6 +28,7 @@ spec:
ports:
{{if eq .Values.service.type "NodePort" -}}
- port: {{ .Values.service.externalPort }}
+ targetPort: {{ .Values.service.internalPort }}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
name: {{ .Values.service.name }}
{{- else -}}