X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fa1simulator%2Ftemplates%2Fservice.yaml;h=d22654c98c9c1d5aa72fdf133e316cea725352ef;hb=e5a6ed0aa2e296561249541ee57fe8b4ed55a290;hp=4c16903e2711deb59484407fd121fe5d315211c4;hpb=7e09001c5b58dab96d014fe3f9c41f89b53f3cc3;p=it%2Fdep.git diff --git a/nonrtric/helm/a1simulator/templates/service.yaml b/nonrtric/helm/a1simulator/templates/service.yaml index 4c16903e..d22654c9 100644 --- a/nonrtric/helm/a1simulator/templates/service.yaml +++ b/nonrtric/helm/a1simulator/templates/service.yaml @@ -17,7 +17,7 @@ kind: Service apiVersion: v1 metadata: - name: {{ .Values.a1simulator.instanceName }} + name: {{ .Values.a1simulator.name }} namespace: {{ include "common.namespace.nonrtric" . }} labels: app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }} @@ -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 }}