github.com/rohankumardubey/draft-classic@v0.16.0/packs/erlang/charts/templates/service.yaml (about) 1 apiVersion: v1 2 kind: Service 3 metadata: 4 name: {{ template "chart.fullname" . }} 5 labels: 6 app: {{ template "chart.name" . }} 7 chart: {{ template "chart.chart" . }} 8 release: {{ .Release.Name }} 9 heritage: {{ .Release.Service }} 10 spec: 11 type: {{ .Values.service.type }} 12 ports: 13 - port: {{ .Values.service.port }} 14 targetPort: http 15 protocol: TCP 16 name: http 17 selector: 18 app: {{ template "chart.name" . }} 19 release: {{ .Release.Name }}