Print warning only instead of error if no permission on ingressclass (#7578)
* skip ingressclass check if ingressclass is not enabled * reformat with gofmt
This commit is contained in:
parent
710d0db9a5
commit
6499393772
3 changed files with 27 additions and 10 deletions
|
|
@ -42,7 +42,9 @@ type IngressClassConfiguration struct {
|
|||
// WatchWithoutClass defines if Controller should watch to Ingress Objects that does
|
||||
// not contain an IngressClass configuration
|
||||
WatchWithoutClass bool
|
||||
|
||||
// IgnoreIngressClass defines if Controller should ignore the IngressClass Object if no permissions are
|
||||
// granted on IngressClass
|
||||
IgnoreIngressClass bool
|
||||
//IngressClassByName defines if the Controller should watch for Ingress Classes by
|
||||
// .metadata.name together with .spec.Controller
|
||||
IngressClassByName bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue