* Fix for helm 3 and k8s 1.16 * Inclusion of archived directory under k8s * separate deploy-all powershell script for local Mac OS deployment.
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 }}
|