charts/charts/esphome/templates/service.yaml
Alex Manning c12d5580bd
All checks were successful
ci/woodpecker/push/mastodon Pipeline was successful
Remove "enabled" from service.
2023-03-01 20:38:59 +00:00

19 lines
471 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "esphome.fullname" . }}
labels:
{{- include "esphome.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: 6052
targetPort: http
protocol: TCP
name: http
{{- with .Values.service.nodePort }}
nodePort: {{ . }}
{{- end }}
selector:
hass.kube.a09.uk/automationService: esphome
{{- include "esphome.selectorLabels" . | nindent 4 }}