This commit is contained in:
parent
c0f699b45b
commit
abb7cb0c90
16
kustomize/ingress.yaml
Normal file
16
kustomize/ingress.yaml
Normal 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
|
@ -5,3 +5,4 @@ namespace: toy
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- services.yaml
|
||||
- ingress.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user