blob: 9af7476edca1bfa76bf615e8c79efb52e3db032e [file] [log] [blame]
gio7fbd4ad2024-08-27 10:06:39 +04001apiVersion: v1
2kind: Service
3metadata:
4 name: {{ .Values.name }}
5spec:
6 type: ClusterIP
7 selector:
8 app: {{ .Values.name }}
9 ports:
giof3486a52024-10-29 23:38:18 +040010 {{- range .Values.ports }}
11 - name: {{ .name }}
12 port: {{ .value }}
13 targetPort: {{ .name }}
14 protocol: {{ .protocol }}
15 {{- end }}