From 945a4bd35e414f1145b5189618253d8e93e9dd86 Mon Sep 17 00:00:00 2001 From: Ivan Aracki Date: Fri, 5 Jul 2019 23:00:28 +0200 Subject: [PATCH] rbac-lookup: add page (#3165) --- pages/common/rbac-lookup.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/rbac-lookup.md diff --git a/pages/common/rbac-lookup.md b/pages/common/rbac-lookup.md new file mode 100644 index 000000000..1b6363a06 --- /dev/null +++ b/pages/common/rbac-lookup.md @@ -0,0 +1,24 @@ +# rbac-lookup + +> Find roles and cluster roles attached to any user, service account or group name in your Kubernetes cluster. +> More information: . + +- View all RBAC bindings: + +`rbac-lookup` + +- View RBAC bindings that match a given expression: + +`rbac-lookup {{search_term}}` + +- View all RBAC bindings along with the source role binding: + +`rbac-lookup -o wide` + +- View all RBAC bindings filtered by subject: + +`rbac-lookup -k {{user|group|serviceaccount}}` + +- View all RBAC bindings along with IAM roles (if you are using GKE): + +`rbac-lookup --gke`