diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2018-07-15 12:33:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-07-15 12:33:13 +0000 |
commit | 13f44d72d75b6df5d39b760f9018964aa6a226d3 (patch) | |
tree | c6807cbf96c7b86ca7915863002473575c975dc6 /kubernetes/portal/charts/portal-sdk | |
parent | b8a250d496d7dcdab72b0118164a3f2bb23cb7e4 (diff) | |
parent | b53c6a3e7dc5fb0c1af7eefcc398dcd5a8cd8fa8 (diff) |
Merge "Expose portal sdk port"
Diffstat (limited to 'kubernetes/portal/charts/portal-sdk')
-rw-r--r-- | kubernetes/portal/charts/portal-sdk/templates/service.yaml | 2 | ||||
-rw-r--r-- | kubernetes/portal/charts/portal-sdk/values.yaml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/portal/charts/portal-sdk/templates/service.yaml b/kubernetes/portal/charts/portal-sdk/templates/service.yaml index 75d4a14dcf..7cd05606e8 100644 --- a/kubernetes/portal/charts/portal-sdk/templates/service.yaml +++ b/kubernetes/portal/charts/portal-sdk/templates/service.yaml @@ -26,7 +26,7 @@ spec: type: {{ .Values.service.type }} ports: {{if eq .Values.service.type "NodePort" -}} - - port: {{ .Values.service.externalPort }} + - port: {{ .Values.service.internalPort }} targetPort: {{ .Values.service.internalPort }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} name: {{ .Values.service.portName }} diff --git a/kubernetes/portal/charts/portal-sdk/values.yaml b/kubernetes/portal/charts/portal-sdk/values.yaml index fb4d0765e1..b92685c12c 100644 --- a/kubernetes/portal/charts/portal-sdk/values.yaml +++ b/kubernetes/portal/charts/portal-sdk/values.yaml @@ -53,11 +53,11 @@ readiness: periodSeconds: 10 service: - type: ClusterIP + type: NodePort name: portal-sdk portName: portal-sdk - externalPort: 8990 internalPort: 8080 + nodePort: 35 mariadb: service: |