Bhanuji95 commented on issue #259:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/259#issuecomment-784158872


   Hello @tokers,
   
   I am giving my serviceaccount, cluster role and role binding information here
   
   ```
   ---
   kind: ServiceAccount
   apiVersion: v1
   metadata:
     name: apisix-view-serviceaccount
     namespace: default
   secrets:
     - name: apisix-view-serviceaccount-token-hhmp4
   ---
   kind: ClusterRoleBinding
   apiVersion: rbac.authorization.k8s.io/v1
   metadata:
     name: apisix-view-clusterrolebinding
   subjects:
     - kind: ServiceAccount
       name: apisix-view-serviceaccount
       namespace: default
   roleRef:
     apiGroup: rbac.authorization.k8s.io
     kind: ClusterRole
     name: apisix-view-clusterrole
   ---
   kind: ClusterRole
   apiVersion: rbac.authorization.k8s.io/v1
   metadata:
     name: apisix-view-clusterrole
   rules:
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - ''
       resources:
         - configmaps
         - endpoints
         - persistentvolumeclaims
         - pods
         - replicationcontrollers
         - replicationcontrollers/scale
         - serviceaccounts
         - services
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - ''
       resources:
         - bindings
         - events
         - limitranges
         - namespaces/status
         - pods/log
         - pods/status
         - replicationcontrollers/status
         - resourcequotas
         - resourcequotas/status
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - ''
       resources:
         - namespaces
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - apps
       resources:
         - controllerrevisions
         - daemonsets
         - deployments
         - deployments/scale
         - replicasets
         - replicasets/scale
         - statefulsets
         - statefulsets/scale
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - autoscaling
       resources:
         - horizontalpodautoscalers
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - batch
       resources:
         - cronjobs
         - jobs
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - extensions
       resources:
         - daemonsets
         - deployments
         - deployments/scale
         - ingresses
         - networkpolicies
         - replicasets
         - replicasets/scale
         - replicationcontrollers/scale
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - policy
       resources:
         - poddisruptionbudgets
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - networking.k8s.io
       resources:
         - ingresses
         - networkpolicies
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - metrics.k8s.io
       resources:
         - pods
     - verbs:
         - get
         - list
         - watch
       apiGroups:
         - apisix.apache.org
       resources:
         - apisixroutes
         - apisixupstreams
         - apisixservices
   
   ```


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to