From a5b17de8f0d0f3289a76e74020f48423feb4aab3 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Tue, 24 Dec 2024 15:13:14 +0100 Subject: [PATCH] HA: changes 15 --- home-assistant/ingress.yaml | 2 +- home-assistant/service.yaml | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/home-assistant/ingress.yaml b/home-assistant/ingress.yaml index 7d269b4..5587aeb 100644 --- a/home-assistant/ingress.yaml +++ b/home-assistant/ingress.yaml @@ -31,7 +31,7 @@ spec: pathType: Prefix backend: service: - name: ha-svc + name: home-assistant-external port: name: http diff --git a/home-assistant/service.yaml b/home-assistant/service.yaml index 77985ab..199d51e 100644 --- a/home-assistant/service.yaml +++ b/home-assistant/service.yaml @@ -1,14 +1,11 @@ apiVersion: v1 kind: Service metadata: - name: ha-svc + name: home-assistant-external + namespace: default spec: - selector: - app.kubernetes.io/name: app + type: ExternalName + externalName: 192.168.1.202 ports: - - name: http - protocol: TCP - port: 80 - targetPort: 8123 - externalIPs: - - 192.168.1.202 \ No newline at end of file + - port: 8123 + protocol: TCP \ No newline at end of file