Created
February 17, 2020 09:02
-
-
Save alexei-led/19570300e584798d4d5c3a234ceb0d62 to your computer and use it in GitHub Desktop.
Markdium-Securely Access AWS from GKE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcloud iam service-accounts add-iam-policy-binding \ | |
--role roles/iam.workloadIdentityUser \ | |
--role roles/iam.serviceAccountTokenCreator \ | |
--member "serviceAccount:${PROJECT_ID}.svc.id.goog[${K8S_NAMESPACE}/${KSA_NAME}]" \ | |
${GSA_NAME}@${PROJECT_ID}.iam.gserviceaccount.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment