33 lines
665 B
YAML
33 lines
665 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: rds-ingress
|
|
namespace: rds
|
|
annotations:
|
|
kubernetes.io/ingress.class: traefik
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
spec:
|
|
defaultBackend:
|
|
service:
|
|
name: layer0-web
|
|
port:
|
|
number: 80
|
|
tls:
|
|
- hosts:
|
|
- rds.drive.test.sunet.se
|
|
secretName: tls-secret
|
|
|
|
rules:
|
|
- host: rds.drive.test.sunet.se
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: layer0-web
|
|
port:
|
|
number: 80
|