k8s-charts/charts/tandoor-recipes/templates/service.yaml

16 lines
385 B
YAML
Raw Normal View History

2024-01-29 14:37:59 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "tandoor-recipes.fullname" . }}
labels:
{{- include "tandoor-recipes.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "tandoor-recipes.selectorLabels" . | nindent 4 }}