2019-02-08 13:57:16 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2019-07-04 15:07:16 +01:00
|
|
|
name: {{ include "passbook.fullname" . }}-web
|
2019-02-08 13:57:16 +00:00
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: {{ include "passbook.name" . }}
|
|
|
|
helm.sh/chart: {{ include "passbook.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 "passbook.name" . }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
2019-03-10 14:34:24 +00:00
|
|
|
passbook.io/component: web
|