transfer.sh/charts/transfersh/templates/service.yaml

20 lines
595 B
YAML
Raw Normal View History

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:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: {{ include "transfersh.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}