Difference between revisions of "Rbac.authorization.kubernetes.io"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
  apiVersion: [[rbac.authorization.k8s.io]]/v1
 
  apiVersion: [[rbac.authorization.k8s.io]]/v1
  kind: ClusterRole
+
  [[kind: ClusterRole]]
 
  metadata:
 
  metadata:
 
   [[annotations:]]
 
   [[annotations:]]
Line 38: Line 38:
  
  
 +
== See also ==
 +
* {{K8s RBAC}}
  
{{K8s RBAC}}
+
[[Category:K8s]]

Latest revision as of 12:56, 31 October 2023

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  annotations:
    rbac.authorization.kubernetes.io/autoupdate: "true"
  name: view-aws
rules:
- apiGroups:
  - '*'
  resources:
  - nodes
  - namespaces
  - pods
  - events
  verbs:
  - get
  - list
- apiGroups:
  - apps
  resources:
  - deployments
  - daemonsets
  - statefulsets
  - replicasets
  verbs:
  - get
  - list
- apiGroups:
 - batch
  resources:
  - jobs
  verbs:
  - get
  - list


See also[edit]

Advertising: