From 74ef4388bff349ce9558871fd48eac2ef2b592df Mon Sep 17 00:00:00 2001 From: martinohmann Date: Fri, 12 Jan 2024 21:07:58 +0100 Subject: [PATCH] Revert "fix(external-apps): use EndpointSlice for pve" This reverts commit 033bcf4343ee2610db7a904ce7d72b5521d2c84c. Looks like this broke hajimari which is now segfaulting --- .../default/external-apps/config/pve.yaml | 30 ++----------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/kubernetes/apps/default/external-apps/config/pve.yaml b/kubernetes/apps/default/external-apps/config/pve.yaml index 9b3d6b15d..a84a6e790 100644 --- a/kubernetes/apps/default/external-apps/config/pve.yaml +++ b/kubernetes/apps/default/external-apps/config/pve.yaml @@ -5,31 +5,8 @@ metadata: name: pve namespace: default spec: - ports: - - name: https - protocol: TCP - port: 443 - targetPort: 8006 - ---- -apiVersion: discovery.k8s.io/v1 -kind: EndpointSlice -metadata: - name: pve - namespace: default - labels: - kubernetes.io/service-name: pve -addressType: IPv4 -ports: - - name: https - appProtocol: https - protocol: TCP - port: 8006 -endpoints: - - addresses: - - 192.168.1.20 - - 192.168.1.21 - - 192.168.1.22 + externalName: pve.18b.lan. + type: ExternalName --- apiVersion: networking.k8s.io/v1 @@ -38,7 +15,6 @@ metadata: annotations: external-dns.alpha.kubernetes.io/target: ingress.18b.haus nginx.ingress.kubernetes.io/backend-protocol: HTTPS - nginx.ingress.kubernetes.io/upstream-hash-by: $host hajimari.io/appName: Proxmox VE hajimari.io/group: other hajimari.io/icon: simple-icons:proxmox @@ -54,7 +30,7 @@ spec: service: name: pve port: - number: 443 + number: 8006 path: / pathType: Prefix tls: