From 766345e2bb2ee54600a9715a93ded23bbc4e046a Mon Sep 17 00:00:00 2001 From: Long Wu Yuan Date: Tue, 12 Oct 2021 08:09:47 +0530 Subject: [PATCH] added ingressClassName field in example ingress (#7797) --- charts/ingress-nginx/templates/NOTES.txt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/charts/ingress-nginx/templates/NOTES.txt b/charts/ingress-nginx/templates/NOTES.txt index 03ece9c59..29aeb113a 100644 --- a/charts/ingress-nginx/templates/NOTES.txt +++ b/charts/ingress-nginx/templates/NOTES.txt @@ -37,19 +37,22 @@ 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: - - www.example.com - secretName: example-tls + - hosts: + - www.example.com + secretName: example-tls If TLS is enabled for the Ingress, a Secret containing the certificate and key must also be provided: