From db2efcaca3f4537030afae48ca509d1d0531556a Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 24 Jan 2024 03:57:51 +0100 Subject: [PATCH] fixed the ingress configuration being left unchanged despite the calendar being removed --- .../k3s/templates/networking/ingress.yaml | 5 ----- .../k3s/templates/networking/service.yaml | 18 ------------------ 2 files changed, 23 deletions(-) diff --git a/deployment/k3s/templates/networking/ingress.yaml b/deployment/k3s/templates/networking/ingress.yaml index 0082e2417..defa9b158 100644 --- a/deployment/k3s/templates/networking/ingress.yaml +++ b/deployment/k3s/templates/networking/ingress.yaml @@ -14,11 +14,6 @@ spec: services: - name: feedback-svc port: 3004 - - kind: Rule - match: Host(`{{ $.Values.url }}`) && PathPrefix(`/api/calendar/`) - services: - - name: calendar-svc - port: 3005 - kind: Rule match: Host(`{{ $.Values.url }}`) && PathPrefix(`/api/`) services: diff --git a/deployment/k3s/templates/networking/service.yaml b/deployment/k3s/templates/networking/service.yaml index 869bd1bcf..3eaf3cc05 100644 --- a/deployment/k3s/templates/networking/service.yaml +++ b/deployment/k3s/templates/networking/service.yaml @@ -36,24 +36,6 @@ spec: --- apiVersion: v1 kind: Service -metadata: - name: calendar-svc - labels: - app.kubernetes.io/part-of: navigatum - app.kubernetes.io/name: calendar - namespace: {{ $.Values.namespace }} -spec: - type: ClusterIP - selector: - app.kubernetes.io/part-of: navigatum - app.kubernetes.io/name: calendar - ports: - - name: http - port: 3005 - targetPort: 3005 ---- -apiVersion: v1 -kind: Service metadata: name: maps-svc labels: