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=4bcde799729fdc711c39d6907005f8b409e53653;hpb=ce3241c91902cd029c256d4ac9a3d0c80cbb0211;p=it%2Fdep.git diff --git a/nonrtric/helm/a1simulator/templates/service.yaml b/nonrtric/helm/a1simulator/templates/service.yaml index 4bcde799..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,11 +26,16 @@ metadata: heritage: {{ .Release.Service }} spec: ports: - - name: http - protocol: TCP - port: {{ include "common.serviceport.a1simulator.http" . }} - targetPort: {{ include "common.serviceport.a1simulator.http" . }} + - 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 }} type: ClusterIP + clusterIP: None \ No newline at end of file