Add ingress config

main
John Kenyon 2025-06-21 00:11:43 -07:00
parent 01d0b55a39
commit eb5d2c91ef
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: shoppinglist-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: localhost
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: shoppinglist-frontend
port:
number: 80