kind: ClusterRole

From wikieduonline
Revision as of 09:53, 2 September 2022 by Cry (talk | contribs) (→‎Related)
Jump to navigation Jump to search

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

Related

Advertising: