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 2021/05/28 03:37:30 UTC

[GitHub] [apisix-ingress-controller] lingsamuel commented on issue #511: bug: RBAC: should be able to create `events`

lingsamuel commented on issue #511:
URL: https://github.com/apache/apisix-ingress-controller/issues/511#issuecomment-850087209


   ```patch
   Index: samples/deploy/rbac/apisix_view_clusterrole.yaml
   IDEA additional info:
   Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
   <+>UTF-8
   ===================================================================
   diff --git a/samples/deploy/rbac/apisix_view_clusterrole.yaml b/samples/deploy/rbac/apisix_view_clusterrole.yaml
   --- a/samples/deploy/rbac/apisix_view_clusterrole.yaml	(revision ca94b3e4fb9537d3b27fedb97a941b7e680aea3a)
   +++ b/samples/deploy/rbac/apisix_view_clusterrole.yaml	(date 1622169931397)
   @@ -22,6 +22,12 @@
    rules:
    - apiGroups:
      - ""
   +  resources:
   +  - events
   +  verbs:
   +    - "*"
   +- apiGroups:
   +  - ""
      resources:
      - configmaps
      - endpoints
   @@ -40,7 +46,6 @@
      - ""
      resources:
      - bindings
   -  - events
      - limitranges
      - namespaces/status
      - pods/log
   ยทยทยท


-- 
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.

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