Add ConfigureFlags() on controller interface
This commit is contained in:
parent
675296dcf9
commit
37f8c8bb40
4 changed files with 12 additions and 1 deletions
|
|
@ -314,6 +314,11 @@ func (n NGINXController) Info() *ingress.BackendInfo {
|
|||
}
|
||||
}
|
||||
|
||||
// ConfigureFlags allow to configure more flags before the parsing of
|
||||
// command line arguments
|
||||
func (n *NGINXController) ConfigureFlags(flags *pflag.FlagSet) {
|
||||
}
|
||||
|
||||
// OverrideFlags customize NGINX controller flags
|
||||
func (n *NGINXController) OverrideFlags(flags *pflag.FlagSet) {
|
||||
ic, _ := flags.GetString("ingress-class")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue