blob: 70624abf7392cc47ded99838fb0321c5c50f5e3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
apiVersion: v1
kind: Service
metadata:
labels:
app: {{ .Values.service.exportDistro.name }}
release: {{ .Release.Name }}
name: {{ .Values.service.exportDistro.name }}
spec:
ports:
{{- range $key, $val := .Values.service.exportDistro.ports }}
- name: {{ $val.portName }}
port: {{ $val.port }}
targetPort: {{ $val.port }}
{{- end }}
selector:
app: edgex-export-distro
release: {{ .Release.Name }}
|