2019-08-17 10:48:22 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: {{ include "transfersh.fullname" . }}
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: {{ include "transfersh.name" . }}
|
|
|
|
helm.sh/chart: {{ include "transfersh.chart" . }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
|
|
spec:
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
ports:
|
2019-08-17 11:05:00 +02:00
|
|
|
- port: {{ .Values.service.externalPort }}
|
2019-08-17 11:01:54 +02:00
|
|
|
targetPort: {{ .Values.service.internalPort }}
|
2019-08-17 10:48:22 +02:00
|
|
|
protocol: TCP
|
2019-08-17 11:01:54 +02:00
|
|
|
name: {{ .Values.service.name }}
|
2019-08-17 10:48:22 +02:00
|
|
|
selector:
|
|
|
|
app.kubernetes.io/name: {{ include "transfersh.name" . }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|