You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/09 05:48:07 UTC

[GitHub] [apisix-ingress-controller] cmssczy commented on issue #908: bug: apisix-controller will watch all namespace when no namespaces match namespaceSelector

cmssczy commented on issue #908:
URL: https://github.com/apache/apisix-ingress-controller/issues/908#issuecomment-1062576698


   ```go
   if !validation.HasValueInSyncMap(c.watchingNamespaces) && len(c.watchingLabels) == 0 {
        // list all namespaces and put them all in c.watchingNamespaces
   }
   ```
   Is this the right way?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org