Fixup docs for the ingress-class flag.

According to this issue, there is no way to handle all ingress classes.

https://github.com/kubernetes/ingress-nginx/issues/3101
This commit is contained in:
Mason Staugler 2020-06-26 12:01:55 -04:00
parent d82585917c
commit a3f2be6b90
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ requests to the first port of this Service.`)
ingressClass = flags.String("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).
All ingress classes are satisfied if this parameter is not set.`)
If this parameter is not set it will handle ingresses with either an empty or "nginx" class name.`)
configMap = flags.String("configmap", "",
`Name of the ConfigMap containing custom global configurations for the controller.`)