X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sample-rapp-generator%2Frapp-sample-ics-producer%2FArtifacts%2FDeployment%2FHELM%2Fics-producer%2Ftemplates%2Fproducer-service.yaml;fp=sample-rapp-generator%2Frapp-sample-ics-producer%2FArtifacts%2FDeployment%2FHELM%2Fics-producer%2Ftemplates%2Fproducer-service.yaml;h=8e17906f7429ac9f0ba4055e95d2dbad7e738a7f;hb=3e465bb101ad4e3ee8ab271a6438e44457dfd9fb;hp=0000000000000000000000000000000000000000;hpb=ac8a5c02130e1b84352508d9c47c696aa212088a;p=nonrtric%2Fplt%2Frappmanager.git diff --git a/sample-rapp-generator/rapp-sample-ics-producer/Artifacts/Deployment/HELM/ics-producer/templates/producer-service.yaml b/sample-rapp-generator/rapp-sample-ics-producer/Artifacts/Deployment/HELM/ics-producer/templates/producer-service.yaml new file mode 100644 index 0000000..8e17906 --- /dev/null +++ b/sample-rapp-generator/rapp-sample-ics-producer/Artifacts/Deployment/HELM/ics-producer/templates/producer-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.producer.name }} +spec: + type: NodePort + ports: + - port: {{ .Values.producer.service.port }} + targetPort: {{ .Values.producer.service.port }} + nodePort: {{ .Values.producer.service.nodePort }} + selector: + app: {{ .Values.producer.name }}