X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sample-rapp-generator%2Frapp-sample-ics-consumer%2FArtifacts%2FDeployment%2FHELM%2Fics-consumer%2Ftemplates%2Fconsumer-service.yaml;fp=sample-rapp-generator%2Frapp-sample-ics-consumer%2FArtifacts%2FDeployment%2FHELM%2Fics-consumer%2Ftemplates%2Fconsumer-service.yaml;h=6b3383803f52ec75f4180ab902aac570ec44f3fe;hb=923b3cf05bc7069175647e0b2c7c8e7b53a15a09;hp=0000000000000000000000000000000000000000;hpb=ac8a5c02130e1b84352508d9c47c696aa212088a;p=nonrtric%2Fplt%2Frappmanager.git diff --git a/sample-rapp-generator/rapp-sample-ics-consumer/Artifacts/Deployment/HELM/ics-consumer/templates/consumer-service.yaml b/sample-rapp-generator/rapp-sample-ics-consumer/Artifacts/Deployment/HELM/ics-consumer/templates/consumer-service.yaml new file mode 100644 index 0000000..6b33838 --- /dev/null +++ b/sample-rapp-generator/rapp-sample-ics-consumer/Artifacts/Deployment/HELM/ics-consumer/templates/consumer-service.yaml @@ -0,0 +1,31 @@ +# +# ========================LICENSE_START================================= +# O-RAN-SC +# +# Copyright (C) 2024: OpenInfra Foundation Europe +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ========================LICENSE_END=================================== +# +apiVersion: v1 +kind: Service +metadata: + name: {{ .Values.consumer.name }} +spec: + type: NodePort + ports: + - port: {{ .Values.consumer.service.port }} + targetPort: {{ .Values.consumer.service.port }} + nodePort: {{ .Values.consumer.service.nodePort }} + selector: + app: {{ .Values.consumer.name }}