[SDNC] Fix SDNC charts to make it work with aaf disabled
Fix SDNC service template to make it work with aaf disabled.
Issue-ID: OOM-2748
Signed-off-by: Marat Salakhutdinov <marat.salakhutdinov@bell.ca>
Change-Id: Ic0ac6bcb12cfc86d7b338da21d621e35e94b03c0
(cherry picked from commit dd994c36c36b25fdc77c28e81a78da9928f4ae07)
diff --git a/kubernetes/sdnc/templates/service.yaml b/kubernetes/sdnc/templates/service.yaml
index e3be4bc..d860c8c 100644
--- a/kubernetes/sdnc/templates/service.yaml
+++ b/kubernetes/sdnc/templates/service.yaml
@@ -75,7 +75,7 @@
targetPort: {{ .Values.service.internalPort }}
{{- else -}}
port: {{ .Values.service.internalPort4 }}
- target: {{ .Values.service.internalPort4 }}
+ targetPort: {{ .Values.service.internalPort4 }}
{{ end }}
- name: "{{ .Values.service.portName }}-karaf"
port: {{ .Values.service.externalPort2 }}