meal_homework/helmchart/templates/service.yaml

16 lines
367 B
YAML
Raw Permalink Normal View History

2022-02-13 22:55:18 +01:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "helmchart.fullname" . }}
labels:
{{- include "helmchart.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "helmchart.selectorLabels" . | nindent 4 }}