[SO] MSB connection fixed in nonTLS setup
[oom.git] / kubernetes / so / components / so-etsi-sol003-adapter / resources / config / overrides / override.yaml
index fed38f7..e6a3d7c 100755 (executable)
@@ -59,12 +59,16 @@ vnfmadapter:
 etsi-catalog-manager:
   vnfpkgm:
   {{- if .Values.global.msbEnabled }}
+    {{ if (include "common.needTLS" .) }}
     endpoint: https://msb-iag:443/api/vnfpkgm/v1
   http:
     client:
       ssl:
         trust-store: file:${TRUSTSTORE}
         trust-store-password: ${TRUSTSTORE_PASSWORD}
+    {{ else }}
+    endpoint: http://msb-iag:80/api
+    {{ end }}
   {{- else }}
     endpoint: http://modeling-etsicatalog.{{ include "common.namespace" . }}:8806/api/vnfpkgm/v1
   {{- end }}