Merge "Updated helm charts for e-release"
[it/dep.git] / smo-install / oran_oom / a1simulator / templates / service.yaml
1 {{ range $i, $a1sim := .Values.a1Sims }}
2 ---
3 apiVersion: v1
4 kind: Service
5 metadata:
6   name: "{{ $a1sim.name }}"
7   labels:
8     sim-name: {{ $a1sim.name }}
9     release: {{ $.Release.Name }}
10     chart: {{ $.Chart.Name }}
11 spec:
12   type: {{ $.Values.service.type }}
13   ports:
14     - name: http
15       port: {{ $.Values.service.ports.httpPort }}
16     - name: https
17       port: {{ $.Values.service.ports.httpsPort }}
18   selector:
19     sim-name: {{ $a1sim.name }}
20     release: {{ $.Release.Name }}
21     chart: {{ $.Chart.Name }}
22
23 {{ end }}