helm_website/templates/service.yaml
2024-11-14 08:13:40 +01:00

17 lines
349 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}
labels:
{{- include "basic-app.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: 80
protocol: TCP
name: http
selector:
{{- include "basic-app.selectorLabels" . | nindent 4 }}