From e7791941ba6fd72ec343862ed5ae1de1f058a5a6 Mon Sep 17 00:00:00 2001 From: Yuhao Zhang Date: Tue, 7 Sep 2021 09:11:16 -0700 Subject: [PATCH] fix cli flag typo in faq (#7606) --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index cdcd4f896..8eb626101 100644 --- a/docs/index.md +++ b/docs/index.md @@ -104,7 +104,7 @@ DESCRIPTION: - If you have only one instance of the Ingress-NGINX controller running in your cluster, and you still want to use ingressclass, you should add the annotation "ingressclass.kubernetes.io/is-default-class" in your ingress class, so any new Ingress objects will have this one as default ingressClass. -In this case, you need to make your Controller aware of the objects. If you have several Ingress objects and they don't yet have the [ingressClassName](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#ingress-v1-networking-k8s-io) field, or the ingress annotation (`kubernetes.io/ingress.class`), then you should start your ingress-controller with the flag [--watch-ingress-without-class=true](## What is the flag '--watch-without-ingress-class' ?) . +In this case, you need to make your Controller aware of the objects. If you have several Ingress objects and they don't yet have the [ingressClassName](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#ingress-v1-networking-k8s-io) field, or the ingress annotation (`kubernetes.io/ingress.class`), then you should start your ingress-controller with the flag [--watch-ingress-without-class=true](## What is the flag '--watch-ingress-without-class' ?) . You can configure your helm chart installation's values file with `.controller.watchIngressWithoutClass: true`. @@ -126,7 +126,7 @@ And add the value "spec.ingressClassName=nginx" in your Ingress objects ## I have multiple ingress objects in my cluster. What should I do ? - If you don't care about ingressClass, or you have a lot of ingress objects without ingressClass configuration, you can run the ingress-controller with the flag `--watch-ingress-without-class=true`. -## What is the flag '--watch-without-ingress-class' ? +## What is the flag '--watch-ingress-without-class' ? - Its a flag that is passed,as an argument, to the ingress-controller executable, in the pod spec. It looks like this ; ``` ...