www/deploy/ingress.yaml

48 lines
1.1 KiB
YAML
Raw Normal View History

2022-06-08 04:07:37 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: garrettmills-dev-ingress
2022-11-29 08:26:39 +00:00
namespace: default
2022-06-08 04:44:51 +00:00
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: 'false'
2022-06-08 04:07:37 +00:00
spec:
tls:
- hosts:
- garrettmills.dev
- www.garrettmills.dev
- k8s.garrettmills.dev
secretName: garrettmills-dev-tls-secret
ingressClassName: nginx
rules:
- host: garrettmills.dev
http:
paths:
- pathType: Prefix
path: '/'
backend:
service:
name: garrettmills-dev-service
port:
number: 80
- host: www.garrettmills.dev
http:
paths:
- pathType: Prefix
path: '/'
backend:
service:
name: garrettmills-dev-service
port:
number: 80
- host: k8s.garrettmills.dev
http:
paths:
- pathType: Prefix
path: '/'
backend:
service:
name: garrettmills-dev-service
port:
number: 80