From 4b63ad037ff46a7105d10ebe1787e5b4fc5ce306 Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Fri, 19 Apr 2024 09:29:08 +0200 Subject: [PATCH] fix(svc): EndpointSlices should have the same name as the svc --- apps/utility/haos/endpoint-slice.yaml | 19 +------------------ apps/utility/proxmox/endpoint-slice.yaml | 2 +- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/apps/utility/haos/endpoint-slice.yaml b/apps/utility/haos/endpoint-slice.yaml index bb6287d..224b859 100644 --- a/apps/utility/haos/endpoint-slice.yaml +++ b/apps/utility/haos/endpoint-slice.yaml @@ -1,7 +1,7 @@ apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: - name: home-assistant-1 + name: home-assistant namespace: haos labels: kubernetes.io/service-name: home-assistant @@ -16,20 +16,3 @@ endpoints: - 192.168.1.27 conditions: # https://github.com/argoproj/argo-cd/issues/15554 ready: true ---- -# Traefik uses Endpoints instead of EndpointSlice -apiVersion: v1 -kind: Endpoints -metadata: - name: home-assistant - namespace: haos - labels: - kubernetes.io/service-name: home-assistant - endpoints.kubernetes.io/managed-by: cluster-admins -subsets: - - addresses: - - ip: 192.168.1.27 - ports: - - name: http - port: 8123 - protocol: TCP diff --git a/apps/utility/proxmox/endpoint-slice.yaml b/apps/utility/proxmox/endpoint-slice.yaml index 386c0fa..37650b2 100644 --- a/apps/utility/proxmox/endpoint-slice.yaml +++ b/apps/utility/proxmox/endpoint-slice.yaml @@ -1,7 +1,7 @@ apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: - name: proxmox-euclid-1 + name: proxmox-euclid namespace: proxmox labels: kubernetes.io/service-name: proxmox-euclid