summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-10-19 14:15:25 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2022-10-20 14:34:17 +0200
commit5c047fef0b2791e1a61d745fc4bfe22506940c0e (patch)
treecf5e8642af73f4e616b4041c785c0ec54a65e022
parent4b31de9cd509903fe8c30b226720c87890857795 (diff)
[SDNC] Fix service template for ServiceMesh case
sdnc-oam service was not created correctly in case of a nonTLS deployment Issue-ID: OOM-2495 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I095f8a466d9d1df62800a28d2538e75db597e023
-rw-r--r--kubernetes/sdnc/templates/service.yaml5
1 files changed, 0 insertions, 5 deletions
diff --git a/kubernetes/sdnc/templates/service.yaml b/kubernetes/sdnc/templates/service.yaml
index d2482eab56..1fe4ee3ded 100644
--- a/kubernetes/sdnc/templates/service.yaml
+++ b/kubernetes/sdnc/templates/service.yaml
@@ -70,13 +70,8 @@ spec:
type: ClusterIP
ports:
- name: "{{ .Values.service.portName }}-restconf-alt"
- {{ if .Values.global.aafEnabled }}
port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}
- {{- else -}}
- port: {{ .Values.service.internalPort4 }}
- targetPort: {{ .Values.service.internalPort4 }}
- {{ end }}
- name: "{{ .Values.service.portName }}-karaf"
port: {{ .Values.service.externalPort2 }}
targetPort: {{ .Values.service.internalPort2 }}