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

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  apiVersion: [[rbac.authorization.k8s.io]]/v1
 
  apiVersion: [[rbac.authorization.k8s.io]]/v1
  kind: ClusterRole
+
  [[kind: ClusterRole]]
 
  metadata:
 
  metadata:
 
   [[annotations:]]
 
   [[annotations:]]

Revision as of 12:06, 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


Kubernetes RBAC kubectl auth, kubectl auth can-i, kubectl auth reconcile kubectl create [ role | clusterrole | clusterrolebinding | rolebinding | serviceaccount ], groups:, Kubernetes RBAC good practices, kube2iam, K8s Cluster roles, rbac.authorization.k8s.io, system:

Advertising: