Merge pull request #2599 from duanjiong/networkpolicy-fix
add new parameters allowedIngressNamespaces for user customization
This commit is contained in:
@@ -102,6 +102,9 @@ func newTestConfig() (*Config, error) {
|
||||
},
|
||||
NetworkOptions: &network.Options{
|
||||
EnableNetworkPolicy: true,
|
||||
NSNPOptions: network.NSNPOptions{
|
||||
AllowedIngressNamespaces: []string{},
|
||||
},
|
||||
},
|
||||
MonitoringOptions: &prometheus.Options{
|
||||
Endpoint: "http://prometheus.kubesphere-monitoring-system.svc",
|
||||
|
||||
Reference in New Issue
Block a user