helm-charts/home-assistant/templates/service.yaml

17 lines
397 B
YAML
Raw Normal View History

2024-03-26 10:56:05 +01:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "home-assistant.fullname" . }}
labels:
{{- include "home-assistant.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
selector:
{{- include "home-assistant.selectorLabels" . | nindent 4 }}
type: main
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http