added ingressClassName field in example ingress (#7797)

This commit is contained in:
Long Wu Yuan 2021-10-12 08:09:47 +05:30 committed by GitHub
parent 6ba7aa037f
commit 766345e2bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: