31 lines
579 B
YAML
31 lines
579 B
YAML
|
---
|
||
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: drive-ingress
|
||
|
namespace: portal
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: nginx
|
||
|
spec:
|
||
|
defaultBackend:
|
||
|
service:
|
||
|
name: portal-node
|
||
|
port:
|
||
|
number: 8080
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- drive.test.sunet.se
|
||
|
secretName: drive-tls-secret
|
||
|
ingressClassName: nginx
|
||
|
rules:
|
||
|
- host: drive.test.sunet.se
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: portal-node
|
||
|
port:
|
||
|
number: 8080
|