24 lines
592 B
YAML
24 lines
592 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ .Values.app.svc.webshoppingapigw }}
|
||
|
labels:
|
||
|
app: {{ template "apigwws.name" . }}
|
||
|
chart: {{ template "apigwws.chart" . }}
|
||
|
release: {{ .Release.Name }}
|
||
|
heritage: {{ .Release.Service }}
|
||
|
spec:
|
||
|
type: {{ .Values.service.type }}
|
||
|
ports:
|
||
|
- port: {{ .Values.service.port }}
|
||
|
targetPort: http
|
||
|
protocol: TCP
|
||
|
name: http
|
||
|
- port: {{ .Values.service.adminPort }}
|
||
|
targetPort: admin
|
||
|
protocol: TCP
|
||
|
name: admin
|
||
|
selector:
|
||
|
app: {{ template "apigwws.name" . }}
|
||
|
release: {{ .Release.Name }}
|