aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/charts/appc-cdt
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
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')
-rw-r--r--kubernetes/appc/charts/appc-cdt/templates/service.yaml1
-rw-r--r--kubernetes/appc/charts/appc-cdt/values.yaml6
2 files changed, 4 insertions, 3 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 -}}
diff --git a/kubernetes/appc/charts/appc-cdt/values.yaml b/kubernetes/appc/charts/appc-cdt/values.yaml
index 517b69ddea..d302c4d630 100644
--- a/kubernetes/appc/charts/appc-cdt/values.yaml
+++ b/kubernetes/appc/charts/appc-cdt/values.yaml
@@ -26,7 +26,7 @@ flavor: small
# application image
repository: nexus3.onap.org:10001
-image: onap/appc-cdt-image:1.4.3
+image: onap/appc-cdt-image:1.5.0-SNAPSHOT-latest
pullPolicy: Always
# application configuration
@@ -54,8 +54,8 @@ readiness:
service:
type: NodePort
name: appc-cdt
- externalPort: 80
- internalPort: 80
+ externalPort: 18080
+ internalPort: 18080
nodePort: 89
ingress: