-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix!: Revert create least privilege default service account (#1757) #1827
Conversation
This reverts commit 350faa7.
Hi @apeabody, why this is reverted to old solution and not to the new generally available role |
Hi @gorge511 - I believe at the time of the revert that |
I haven't had a chance to dig into the details, but looks like use of an Agent role isn't recommended for this propose: #1757 (comment) |
Thanks for the quick response. Yes, it seems that the Agent role is not the right one, even if it looks really good for this use case 🙂 |
This update follows changes from terraform-google-modules#1757 and reverts terraform-google-modules#1827. The role `roles/container.nodeServiceAccount` is deprecated now and it is replaced with new `roles/container.defaultNodeServiceAccount` role. Unfortunately this is not yet documented in Google docs. As the scope of the new role is smaller than the old one, this should be considered breaking change.
This reverts commit 350faa7.