add ingress
All checks were successful
Gitea Actions Demo / release-image (push) Successful in 1m6s

This commit is contained in:
Ryan Cavicchioni 2024-07-03 21:10:35 -05:00
parent c0f699b45b
commit abb7cb0c90
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
2 changed files with 17 additions and 0 deletions

16
kustomize/ingress.yaml Normal file
View File

@ -0,0 +1,16 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: toy-ingress
spec:
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: toy
port:
name: web

View File

@ -5,3 +5,4 @@ namespace: toy
resources: resources:
- deployment.yaml - deployment.yaml
- services.yaml - services.yaml
- ingress.yaml