X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fdep.git;a=blobdiff_plain;f=smo-install%2Ftests_oom%2Fran-nssmf-simulator%2Ftemplates%2Fservice.yaml;fp=smo-install%2Ftests_oom%2Fran-nssmf-simulator%2Ftemplates%2Fservice.yaml;h=8438d29f887fda825f24652a9594486fa65a8076;hp=0000000000000000000000000000000000000000;hb=a54a96ba117b4b30c8f88e88f973ea18ddd8687c;hpb=bc6231f7d4d44ab5f269683c42eb90c2ce4ec9a6 diff --git a/smo-install/tests_oom/ran-nssmf-simulator/templates/service.yaml b/smo-install/tests_oom/ran-nssmf-simulator/templates/service.yaml new file mode 100644 index 00000000..8438d29f --- /dev/null +++ b/smo-install/tests_oom/ran-nssmf-simulator/templates/service.yaml @@ -0,0 +1,33 @@ +# ============LICENSE_START======================================================= +# Copyright © 2022 AT&T Intellectual Property +# +# 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. +# Static Defaults +# ============LICENSE_END========================================================= +apiVersion: v1 +kind: Service +metadata: + name: "{{ $.Values.config.name }}" + labels: + sim-name: {{ $.Values.config.name }} + release: {{ $.Release.Name }} + chart: {{ $.Chart.Name }} +spec: + type: {{ $.Values.service.type }} + ports: + - port: 8443 + nodePort: {{ $.Values.service.nodePorts }} + selector: + tests-name: {{ $.Values.config.name }} + release: {{ $.Release.Name }} + chart: {{ $.Chart.Name }} \ No newline at end of file