increase log verbosity for auth annotations

This commit is contained in:
Elvin Efendi 2019-02-21 16:19:10 -05:00
parent bd61b7aeae
commit 420d804cce

View file

@ -146,12 +146,12 @@ func (a authReq) Parse(ing *extensions.Ingress) (interface{}, error) {
// Optional Parameters // Optional Parameters
signIn, err := parser.GetStringAnnotation("auth-signin", ing) signIn, err := parser.GetStringAnnotation("auth-signin", ing)
if err != nil { if err != nil {
klog.Warning("auth-signin annotation is undefined and will not be set") klog.V(3).Infof("auth-signin annotation is undefined and will not be set")
} }
authSnippet, err := parser.GetStringAnnotation("auth-snippet", ing) authSnippet, err := parser.GetStringAnnotation("auth-snippet", ing)
if err != nil { if err != nil {
klog.Warning("auth-snippet annotation is undefined and will not be set") klog.V(3).Infof("auth-snippet annotation is undefined and will not be set")
} }
responseHeaders := []string{} responseHeaders := []string{}