diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-01-22 12:24:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-01-22 12:24:44 +0000 |
commit | 7dc067bbca304601b56559cec5df56a2631d018c (patch) | |
tree | 3f73864cb2d189a8da2c63d2dcbb7530cc393659 /kubernetes/sdnc/templates/service.yaml | |
parent | c9126b7496f720d8295190983551cd5944e88025 (diff) | |
parent | ec7c75e84977916ae0262c10a0f4401d946e4dfd (diff) |
Merge "aaf auto cert generation"
Diffstat (limited to 'kubernetes/sdnc/templates/service.yaml')
-rw-r--r-- | kubernetes/sdnc/templates/service.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/service.yaml b/kubernetes/sdnc/templates/service.yaml index db6d73a3c5..d2136ccb0b 100644 --- a/kubernetes/sdnc/templates/service.yaml +++ b/kubernetes/sdnc/templates/service.yaml @@ -40,6 +40,9 @@ spec: {{if eq .Values.service.type "NodePort" -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} + {{ if not .Values.global.aafEnabled }} + nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort4 }} + {{ end }} name: "{{ .Values.service.portName }}-8282" - port: {{ .Values.service.externalPort2 }} targetPort: {{ .Values.service.internalPort2 }} @@ -50,7 +53,9 @@ spec: name: "{{ .Values.service.portName }}-8280" - port: {{ .Values.service.externalPort4 }} targetPort: {{ .Values.service.internalPort4 }} + {{ if .Values.global.aafEnabled }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort4 }} + {{ end }} name: "{{ .Values.service.portName }}-8443" {{- else -}} - port: {{ .Values.service.externalPort }} |