Jafner.net/homelab/jafner-dev/Ingress.yaml
Joey Hafner 5e95fb3a0c Working Jafner.dev with TLS
- TLS for hello, hello2, and dndtools
  - Documentation for adding services
2023-03-29 23:52:38 -07:00

47 lines
1020 B
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
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