21 lines
626 B
YAML
21 lines
626 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ include "passbook.fullname" . }}-appgw
|
||
|
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 }}
|
||
|
passbook.io/component: appgw
|