diff --git a/cmd/nginx/flags.go b/cmd/nginx/flags.go index e50db1bcb..d62e579c1 100644 --- a/cmd/nginx/flags.go +++ b/cmd/nginx/flags.go @@ -96,9 +96,6 @@ func parseFlags() (bool, *controller.Configuration, error) { `Force namespace isolation. This flag is required to avoid the reference of secrets or configmaps located in a different namespace than the specified in the flag --watch-namespace.`) - _ = flags.Bool("disable-node-list", false, - `Disable querying nodes. If --force-namespace-isolation is true, this should also be set. (DEPRECATED)`) - updateStatusOnShutdown = flags.Bool("update-status-on-shutdown", true, `Indicates if the ingress controller should update the Ingress status IP/hostname when the controller is being stopped. Default is true`) @@ -132,8 +129,6 @@ func parseFlags() (bool, *controller.Configuration, error) { `Define the sync frequency upper limit`) ) - flags.MarkDeprecated("disable-node-list", "This flag is currently no-op and will be deleted.") - flag.Set("logtostderr", "true") flags.AddGoFlagSet(flag.CommandLine)