From 1dfeb9905cfc925577c75f283e738bb53ac8838a Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Fri, 22 Nov 2024 16:09:18 +0000 Subject: [PATCH] add ingress --- ingress.yaml | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/ingress.yaml b/ingress.yaml index 6c4cc67..208c5fd 100644 --- a/ingress.yaml +++ b/ingress.yaml @@ -1,39 +1,14 @@ -# A manually constructed ingress to give us a URL into the opis service -apiVersion: v1 -kind: Service -metadata: - labels: - app: epics-opis - ioc_group: p47 - location: bl47p - name: epics-opis-static -spec: - ports: - - name: http - port: 80 - protocol: TCP - targetPort: 80 - - name: https - port: 443 - protocol: TCP - targetPort: 443 - selector: - app: epics-opis - sessionAffinity: None - type: LoadBalancer - ---- kind: Ingress apiVersion: networking.k8s.io/v1 metadata: - name: p47-opis-ingress + name: p46-opis-ingress spec: ingressClassName: nginx tls: - hosts: - - p47-opis.diamond.ac.uk + - p46-opis.diamond.ac.uk rules: - - host: p47-opis.diamond.ac.uk + - host: p46-opis.diamond.ac.uk http: paths: - path: /