Remove deprecated flag disable-node-list (#2119)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-02-20 11:56:25 -08:00 committed by GitHub
parent 0990c5b6ad
commit 809aab7c82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)