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 00d5270 commit f58da0eCopy full SHA for f58da0e
internal/plugin.go
@@ -594,8 +594,8 @@ func (p *Plugin) applyDefaults(unmarshaledConfig map[string]interface{}) {
594
}
595
596
selector := manifest.NamespaceSelector
597
- if selector.Exclude != nil || selector.Include != nil ||
598
- selector.MatchLabels != nil || selector.MatchExpressions != nil {
+ if selector.Exclude == nil && selector.Include == nil &&
+ selector.MatchLabels == nil && selector.MatchExpressions == nil {
599
manifest.NamespaceSelector = policy.NamespaceSelector
600
601
0 commit comments