Difference between revisions of "Kind: ClusterRole"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
  Ref: https://stackoverflow.com/a/53524535
 
  Ref: https://stackoverflow.com/a/53524535
  
 +
== See also ==
 +
* {{Kubernetes RBAC}}
  
{{Kubernetes RBAC}}
+
[[Category:K8s]]

Revision as of 16:39, 25 August 2022

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  namespace: '*'
  name: pod-reader
rules:
- apiGroups: ["extensions", "apps", ""]
  resources: ["pods"]
  verbs: ["get", "list", "watch"]

Ref: https://stackoverflow.com/a/53524535

See also

Advertising: