mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
chore: increase namespace list limit from 100 to 500
This commit is contained in:
@@ -666,7 +666,7 @@ func (c *ConnectOptions) setupDNS(ctx context.Context, svcInformer cache.SharedI
|
||||
}
|
||||
|
||||
ns := []string{c.OriginNamespace}
|
||||
list, err := c.clientset.CoreV1().Namespaces().List(ctx, metav1.ListOptions{Limit: 100})
|
||||
list, err := c.clientset.CoreV1().Namespaces().List(ctx, metav1.ListOptions{Limit: 500})
|
||||
if err == nil {
|
||||
for _, item := range list.Items {
|
||||
if !sets.New[string](ns...).Has(item.Name) {
|
||||
|
||||
Reference in New Issue
Block a user