Skip to content

Commit b563ef3

Browse files
committed
add tenant filter to admin access docs
1 parent bc9650b commit b563ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/operational/admin_access.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ done | xpanes -c '{}'
6565
### Tenant gateways
6666

6767
```shell
68-
for project in $(gcloud projects list --filter "labels.naiscluster:true" --format 'value(projectId)'); do
68+
for project in $(gcloud projects list --filter "labels.naiscluster:true and labels.tenant:<tenant>" --format 'value(projectId)'); do
6969
for vm in $(gcloud compute instances list --project $project --filter "labels.usage:naisdevice" --format 'value(name)'); do
7070
echo gcloud compute ssh --tunnel-through-iap --project $project $vm
7171
done

0 commit comments

Comments
 (0)