hugo-mx-gateway/helm/templates/service.yaml

16 lines
352 B
YAML
Raw Normal View History

2020-05-17 19:09:32 +02:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "helm.fullname" . }}
labels:
{{- include "helm.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: 8080
2020-05-17 19:09:32 +02:00
protocol: TCP
name: http
selector:
{{- include "helm.selectorLabels" . | nindent 4 }}