35 lines
700 B
YAML
35 lines
700 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/target: armnleg.martyn.berlin
|
|
kubernetes.io/ingress.class: nginx
|
|
labels:
|
|
app: tududi
|
|
name: tududi
|
|
spec:
|
|
rules:
|
|
- host: todo.martyn.berlin
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: tududi
|
|
port:
|
|
number: 80
|
|
path: /
|
|
pathType: Prefix
|
|
- host: tududi.martyn.berlin
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: tududi
|
|
port:
|
|
number: 80
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- tududi.martyn.berlin
|
|
- todo.martyn.berlin
|