Remove deprecated flag disable-node-list

This commit is contained in:
Manuel de Brito Fontes 2018-02-18 03:07:34 -03:00
parent 769f11df60
commit d077d57315

View file

@ -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)