k8s-manifests/portal/overlays/test/portal-ingress.yml

44 lines
920 B
YAML
Raw Normal View History

2024-06-24 12:00:25 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
2024-06-24 12:04:32 +00:00
name: portal-ingress
namespace: portal
2024-06-24 12:00:25 +00:00
annotations:
kubernetes.io/ingress.class: nginx
2024-11-21 10:17:40 +00:00
cert-manager.io/issuer: "letsencrypt"
acme.cert-manager.io/http01-edit-in-place: "true"
2024-06-24 12:00:25 +00:00
spec:
defaultBackend:
service:
2024-06-24 12:04:32 +00:00
name: portal-node
2024-06-24 12:00:25 +00:00
port:
number: 8080
ingressClassName: nginx
tls:
- hosts:
- portal.drive.test.sunet.se
2024-11-21 10:11:27 +00:00
- drive.test.sunet.se
2024-06-24 12:00:25 +00:00
secretName: tls-secret
rules:
- host: portal.drive.test.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
2024-06-24 12:04:32 +00:00
name: portal-node
2024-06-24 12:00:25 +00:00
port:
number: 8080
2024-11-21 10:11:27 +00:00
- host: drive.test.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: portal-node
port:
number: 8080