add selector label

This commit is contained in:
2025-05-14 17:59:52 -05:00
parent 14df94e953
commit 7c662742ed
2 changed files with 3 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ metadata:
spec: spec:
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: home-assistant app.kubernetes.io/name: home-assistant-main
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
endpoints: endpoints:
- port: http - port: http

View File

@@ -44,6 +44,8 @@ home-assistant:
service: service:
main: main:
controller: main controller: main
extraSelectorLabels:
app.kubernetes.io/name: home-assistant-main
ports: ports:
http: http:
port: 80 port: 80