added ingressClassName field in example ingress (#7797)
This commit is contained in:
parent
6ba7aa037f
commit
766345e2bb
1 changed files with 10 additions and 7 deletions
|
@ -37,14 +37,17 @@ An example Ingress that makes use of the controller:
|
|||
name: example
|
||||
namespace: foo
|
||||
spec:
|
||||
ingressClassName: example-class
|
||||
rules:
|
||||
- host: www.example.com
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: exampleService
|
||||
servicePort: 80
|
||||
path: /
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: exampleService
|
||||
port: 80
|
||||
# This section is only required if TLS is to be enabled for the Ingress
|
||||
tls:
|
||||
- hosts:
|
||||
|
|
Loading…
Reference in a new issue