Difference between revisions of "Kind: RoleBinding"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#rolebinding-and-clusterrolebinding | ||
− | [[kind: Role]] | + | * [[kind: Role]] |
+ | * [[kind: ClusterRoleBinding]] | ||
+ | |||
+ | |||
+ | apiVersion: [[rbac.authorization.k8s.io/v1]] | ||
+ | kind: RoleBinding | ||
+ | metadata: | ||
+ | name: eks-console-dashboard-restricted-access-role-binding | ||
+ | namespace: default | ||
+ | subjects: | ||
+ | - kind: Group | ||
+ | name: eks-console-dashboard-restricted-access-group | ||
+ | apiGroup: rbac.authorization.k8s.io | ||
+ | roleRef: | ||
+ | kind: Role | ||
+ | name: eks-console-dashboard-restricted-access-role | ||
+ | apiGroup: rbac.authorization.k8s.io | ||
+ | |||
+ | |||
+ | == See also == | ||
+ | * {{Kubernetes roles}} | ||
+ | * {{K8s RBAC}} | ||
+ | |||
+ | [[Category:K8s]] |
Latest revision as of 12:43, 4 October 2023
apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: eks-console-dashboard-restricted-access-role-binding namespace: default subjects: - kind: Group name: eks-console-dashboard-restricted-access-group apiGroup: rbac.authorization.k8s.io roleRef: kind: Role name: eks-console-dashboard-restricted-access-role apiGroup: rbac.authorization.k8s.io
See also[edit]
- Kubernetes roles,
kubectl get [ roles | clusterroles | clusterrolebindings ], kubectl create rolebinding
, K8s Cluster roles - 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: