Skip to content

Commit

Permalink
add ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Nov 22, 2024
1 parent 30f775e commit 1dfeb99
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions ingress.yaml
Original file line number Diff line number Diff line change
@@ -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: /
Expand Down

0 comments on commit 1dfeb99

Please sign in to comment.