mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Wed Aug 2 11:22:33 UTC 2023
This commit is contained in:
parent
4558a00e48
commit
678b9afba9
240 changed files with 7837 additions and 521 deletions
|
|
@ -73,6 +73,17 @@ EXAMPLES
|
|||
test-acct@test-project.iam.gserviceaccount.com \
|
||||
--role=role/mynamespace/namespace-reader
|
||||
|
||||
The users provided can be using a Google identity (only email) or using
|
||||
external identity providers (starting with
|
||||
"principal://iam.googleapis.com"):
|
||||
|
||||
$ gcloud container hub memberships generate-gateway-rbac \
|
||||
--membership=my-cluster \
|
||||
--users=foo@example.com,principal://iam.googleapis.com/\
|
||||
locations/global/workforcePools/pool/subject/user \
|
||||
--role=clusterrole/cluster-admin --context=my-cluster-context \
|
||||
--kubeconfig=/home/user/custom_kubeconfig --apply
|
||||
|
||||
FLAGS
|
||||
--anthos-support
|
||||
If specified, this command will generate RBAC policy file for anthos
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue