X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=smo-install%2Foran_oom%2Fru-simulator%2Ftemplates%2Fservice.yaml;fp=smo-install%2Foran_oom%2Fru-simulator%2Ftemplates%2Fservice.yaml;h=35f475be102a66c70025c6ebbb8899e323d43bf2;hb=a2c2df5014145ee3126146987d9039e397b12407;hp=0000000000000000000000000000000000000000;hpb=2482dc9de60c39de16d4e85d3fa11d02ec645957;p=it%2Fdep.git diff --git a/smo-install/oran_oom/ru-simulator/templates/service.yaml b/smo-install/oran_oom/ru-simulator/templates/service.yaml new file mode 100644 index 00000000..35f475be --- /dev/null +++ b/smo-install/oran_oom/ru-simulator/templates/service.yaml @@ -0,0 +1,20 @@ +{{ range $i, $ru := .Values.rus }} +--- +apiVersion: v1 +kind: Service +metadata: + name: "{{ $ru.name }}" + labels: + sim-name: {{ $ru.name }} + release: {{ $.Release.Name }} + chart: {{ $.Chart.Name }} +spec: + type: {{ $.Values.service.type }} + ports: + - port: {{ $.Values.service.ports.port }} + selector: + sim-name: {{ $ru.name }} + release: {{ $.Release.Name }} + chart: {{ $.Chart.Name }} + +{{ end }}