term-notify-server/k8s/ingress.yaml

33 lines
627 B
YAML
Raw Normal View History

2022-03-15 21:28:56 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: default-notify-web
namespace: ingress-https
spec:
ingressClassName: nginx
tls:
- hosts:
- notify.astropenguin.net
secretName: any-astro-prod
rules:
- host: notify.astropenguin.net
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: default-notify-web
port:
number: 15602
---
kind: Service
apiVersion: v1
metadata:
name: default-notify-web
namespace: ingress-https
spec:
type: ExternalName
externalName: notify-web.default.svc.cluster.local