X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fa1simulator%2Ftemplates%2Fservice.yaml;h=d22654c98c9c1d5aa72fdf133e316cea725352ef;hb=1298e998c417da23f0725fb8b47e34f88d52541d;hp=616595f9c3f84a3b873a28748d49aa3ac0932212;hpb=3ebd35d37a76ce9c072f3797bea864cadea3e48b;p=it%2Fdep.git diff --git a/nonrtric/helm/a1simulator/templates/service.yaml b/nonrtric/helm/a1simulator/templates/service.yaml index 616595f9..d22654c9 100644 --- a/nonrtric/helm/a1simulator/templates/service.yaml +++ b/nonrtric/helm/a1simulator/templates/service.yaml @@ -26,10 +26,14 @@ metadata: heritage: {{ .Release.Service }} spec: ports: - - name: http - protocol: TCP - port: {{ .Values.a1simulator.service.internalPort }} - targetPort: {{ .Values.a1simulator.service.internalPort }} + - name: {{ index .Values.a1simulator.service.httpName }} + port: {{ .Values.a1simulator.service.internalPort1 }} + targetPort: {{ .Values.a1simulator.service.targetPort1 }} + protocol: TCP + - name: {{ index .Values.a1simulator.service.httpsName }} + port: {{ .Values.a1simulator.service.internalPort2 }} + targetPort: {{ .Values.a1simulator.service.targetPort2 }} + protocol: TCP selector: app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }} release: {{ .Release.Name }}