From b7afa8d6c3e0277d7a7c0d92f49dfa10f51c9dfe Mon Sep 17 00:00:00 2001 From: bhumijgupta Date: Sun, 12 Sep 2021 18:06:33 +0530 Subject: [PATCH 1/2] Added docs for --ingress-class-by-name flag in the cli arguments page Signed-off-by: bhumijgupta --- docs/user-guide/cli-arguments.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/user-guide/cli-arguments.md b/docs/user-guide/cli-arguments.md index ef1c0feb20..94c28dde17 100644 --- a/docs/user-guide/cli-arguments.md +++ b/docs/user-guide/cli-arguments.md @@ -28,6 +28,7 @@ They are set in the container spec of the `nginx-ingress-controller` Deployment | `--http-port` | Port to use for servicing HTTP traffic. (default 80) | | `--https-port` | Port to use for servicing HTTPS traffic. (default 443) | | `--ingress-class` | Name of the ingress class this controller satisfies. The class of an Ingress object is set using the field IngressClassName in Kubernetes clusters version v1.18.0 or higher or the annotation "kubernetes.io/ingress.class" (deprecated). If this parameter is not set, or set to the default value of "nginx", it will handle ingresses with either an empty or "nginx" class name. | +| `--ingress-class-by-name` | Allows NGINX ingress controller to additionally watch for ingressClass which matches the name set by `--ingress-class` flag but points to a different controller. (default false) | | `--kubeconfig` | Path to a kubeconfig file containing authorization and API server information. | | `--log_backtrace_at` | when logging hits line file:N, emit a stack trace (default :0) | | `--log_dir` | If non-empty, write log files in this directory | From c40e097ad1e3eb799c9ead41c26c81d471e88bab Mon Sep 17 00:00:00 2001 From: bhumijgupta Date: Sun, 12 Sep 2021 18:41:39 +0530 Subject: [PATCH 2/2] Updated docs to match the flag description in code Signed-off-by: bhumijgupta --- docs/user-guide/cli-arguments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/cli-arguments.md b/docs/user-guide/cli-arguments.md index 94c28dde17..cfecc32b13 100644 --- a/docs/user-guide/cli-arguments.md +++ b/docs/user-guide/cli-arguments.md @@ -28,7 +28,7 @@ They are set in the container spec of the `nginx-ingress-controller` Deployment | `--http-port` | Port to use for servicing HTTP traffic. (default 80) | | `--https-port` | Port to use for servicing HTTPS traffic. (default 443) | | `--ingress-class` | Name of the ingress class this controller satisfies. The class of an Ingress object is set using the field IngressClassName in Kubernetes clusters version v1.18.0 or higher or the annotation "kubernetes.io/ingress.class" (deprecated). If this parameter is not set, or set to the default value of "nginx", it will handle ingresses with either an empty or "nginx" class name. | -| `--ingress-class-by-name` | Allows NGINX ingress controller to additionally watch for ingressClass which matches the name set by `--ingress-class` flag but points to a different controller. (default false) | +| `--ingress-class-by-name` | Define if Ingress Controller should watch for Ingress Class by Name together with Controller Class. (default false) | | `--kubeconfig` | Path to a kubeconfig file containing authorization and API server information. | | `--log_backtrace_at` | when logging hits line file:N, emit a stack trace (default :0) | | `--log_dir` | If non-empty, write log files in this directory |