X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fdep.git;a=blobdiff_plain;f=smo-install%2Foran_oom%2Frappcatalogueservice%2Ftemplates%2Fservice.yaml;fp=smo-install%2Foran_oom%2Frappcatalogueservice%2Ftemplates%2Fservice.yaml;h=be38ac4659a87b2274b3dc6a9f58d2879e67ddad;hp=2c056eb560f595da3a8c19c5bc0bb1097387aba4;hb=918108f729c368db61fe904024129f21269e19b7;hpb=c9ace66e2b4635918c4c4c473dfc7bcbeb41b7ae diff --git a/smo-install/oran_oom/rappcatalogueservice/templates/service.yaml b/smo-install/oran_oom/rappcatalogueservice/templates/service.yaml index 2c056eb5..be38ac46 100644 --- a/smo-install/oran_oom/rappcatalogueservice/templates/service.yaml +++ b/smo-install/oran_oom/rappcatalogueservice/templates/service.yaml @@ -14,29 +14,4 @@ # limitations under the License. # ################################################################################ -kind: Service -apiVersion: v1 -metadata: - name: {{ include "common.name.rappcatalogueservice" . }} - namespace: {{ include "common.namespace.nonrtric" . }} - labels: - app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.rappcatalogueservice" . }} - chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -spec: - ports: - {{if eq .Values.rappcatalogueservice.service.allowHttp true -}} - - name: {{ index .Values.rappcatalogueservice.service.httpName }} - port: {{ .Values.rappcatalogueservice.service.internalPort1 }} - targetPort: {{ .Values.rappcatalogueservice.service.targetPort1 }} - protocol: TCP - {{- end }} - - name: {{ index .Values.rappcatalogueservice.service.httpsName }} - port: {{ .Values.rappcatalogueservice.service.internalPort2 }} - targetPort: {{ .Values.rappcatalogueservice.service.targetPort2 }} - protocol: TCP - selector: - app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.rappcatalogueservice" . }} - release: {{ .Release.Name }} - type: ClusterIP +{{ include "common.service" . }}