infrastructure/k8s/whoami/ingress.yml
2022-03-07 21:58:17 +00:00

17 lines
342 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: whoami
spec:
ingressClassName: nginx
rules:
- host: whoami.localhost
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: whoami
port:
number: 80