diff options
author | Jack Lucas <jflos@sonoris.net> | 2022-06-23 16:21:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-06-23 16:21:21 +0000 |
commit | 8ed35dfae17231f6d09fc36161a2ce44620a4200 (patch) | |
tree | 2e6bf617411a07160285dc6bd63e0d3f355f0306 /kubernetes/so/components/so-etsi-sol005-adapter/templates/service.yaml | |
parent | 84398e3d8365b56916f4ec4aa2db540d580cbba4 (diff) | |
parent | 17be962a2bd43768a41705f0d009166e2894d82d (diff) |
Merge "[SO] Service mesh compatibility"
Diffstat (limited to 'kubernetes/so/components/so-etsi-sol005-adapter/templates/service.yaml')
-rwxr-xr-x | kubernetes/so/components/so-etsi-sol005-adapter/templates/service.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/so/components/so-etsi-sol005-adapter/templates/service.yaml b/kubernetes/so/components/so-etsi-sol005-adapter/templates/service.yaml index 2ecc66f233..5b8dee0774 100755 --- a/kubernetes/so/components/so-etsi-sol005-adapter/templates/service.yaml +++ b/kubernetes/so/components/so-etsi-sol005-adapter/templates/service.yaml @@ -29,12 +29,12 @@ spec: {{if eq .Values.service.type "NodePort" -}} - port: {{ .Values.service.internalPort }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} - name: {{ .Values.service.portName }} + name: {{ .Values.service.portName }}{{ if (include "common.needTLS" .) }}s{{ end }} {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} - name: {{ .Values.service.portName }} + name: {{ .Values.service.portName }}{{ if (include "common.needTLS" .) }}s{{ end }} {{- end}} selector: app: {{ include "common.name" . }} - release: {{ include "common.release" . }}
\ No newline at end of file + release: {{ include "common.release" . }} |