Add pt-br/examples/service/networking/ingress-wildcard-host.yaml

pull/40112/head
Mr. Erlison 2023-03-18 12:25:30 -03:00
parent 77c558c1ae
commit 1f3a337298
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-wildcard-host
spec:
rules:
- host: "foo.bar.com"
http:
paths:
- pathType: Prefix
path: "/bar"
backend:
service:
name: service1
port:
number: 80
- host: "*.foo.com"
http:
paths:
- pathType: Prefix
path: "/foo"
backend:
service:
name: service2
port:
number: 80