Dynamically get the account details from gcloud (#3662)

This commit is contained in:
Buvanesh Kumar 2020-05-27 22:40:56 +05:30 committed by GitHub
parent f826b0e397
commit 1c5fc0076e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ This will create a new namespace, `argocd`, where Argo CD services and applicati
On GKE, you will need grant your account the ability to create new cluster roles:
```bash
kubectl create clusterrolebinding YOURNAME-cluster-admin-binding --clusterrole=cluster-admin --user=YOUREMAIL@gmail.com
kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user="$(gcloud config get-value account)"
```
!!! note