From bf6e7aa10c9bc7facaed454d7a888c1f3ce1a1f1 Mon Sep 17 00:00:00 2001
From: Remy Moll <me@moll.re>
Date: Sat, 6 Apr 2024 14:33:57 +0200
Subject: [PATCH] mabye like that?

---
 apps/homeassistant/service.yaml        | 3 ++-
 apps/homeassistant/servicemonitor.yaml | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/apps/homeassistant/service.yaml b/apps/homeassistant/service.yaml
index d75cb0d..083e486 100644
--- a/apps/homeassistant/service.yaml
+++ b/apps/homeassistant/service.yaml
@@ -7,4 +7,5 @@ spec:
     app: homeassistant
   ports:
   - port: 8123
-    targetPort: 8123
\ No newline at end of file
+    targetPort: 8123
+    name: http
\ No newline at end of file
diff --git a/apps/homeassistant/servicemonitor.yaml b/apps/homeassistant/servicemonitor.yaml
index 9474620..6ba71dd 100644
--- a/apps/homeassistant/servicemonitor.yaml
+++ b/apps/homeassistant/servicemonitor.yaml
@@ -9,5 +9,5 @@ spec:
     matchLabels:
       app: homeassistant
   endpoints:
-    - port: 8123
+    - port: http
       path: /api/prometheus