We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
namespaceSelector
1 parent 2dff12c commit 9c3f62fCopy full SHA for 9c3f62f
internal/plugin.go
@@ -599,8 +599,8 @@ func (p *Plugin) applyDefaults(unmarshaledConfig map[string]interface{}) {
599
}
600
601
selector := manifest.NamespaceSelector
602
- if selector.Exclude != nil || selector.Include != nil ||
603
- selector.MatchLabels != nil || selector.MatchExpressions != nil {
+ if selector.Exclude == nil && selector.Include == nil &&
+ selector.MatchLabels == nil && selector.MatchExpressions == nil {
604
manifest.NamespaceSelector = policy.NamespaceSelector
605
606
0 commit comments