homelab/jafner-dev/Ingress.yaml
2023-03-30 09:46:07 -07:00

58 lines
1.2 KiB
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: web-ingress
annotations:
kubernetes.io/ingress.class: gce
kubernetes.io/ingress.allow-http: "true"
kubernetes.io/ingress.global-static-ip-name: web-ip
cert-manager.io/issuer: letsencrypt-production
spec:
tls:
- secretName: web-ssl
hosts:
- hello.jafner.dev
- hello2.jafner.dev
- 5e.jafner.dev
- wordpress.jafner.dev
rules:
- host: "hello.jafner.dev"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: hello
port:
number: 8080
- host: "hello2.jafner.dev"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: hello2
port:
number: 8080
- host: "5e.jafner.dev"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: dndtools
port:
number: 80
- host: "wordpress.jafner.dev"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: wordpress
port:
number: 80