Skip to content
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

Merged
merged 4 commits into from
Dec 26, 2023

Conversation

apeabody
Copy link
Collaborator

This reverts commit 350faa7.

@apeabody apeabody changed the title Revert "feat!: Create least privilege default service account (#1757)" fix!: Revert create least privilege default service account (#1757) Dec 21, 2023
@apeabody apeabody merged commit 0d7f638 into master Dec 26, 2023
8 checks passed
@apeabody apeabody deleted the ap-fds3 branch December 26, 2023 16:21
@gorge511
Copy link
Contributor

Hi @apeabody, why this is reverted to old solution and not to the new generally available role roles/container.nodeServiceAgent? Is there any reasoning I'm not aware of?

@apeabody
Copy link
Collaborator Author

roles/container.nodeServiceAgent

Hi @gorge511 - I believe at the time of the revert that roles/container.nodeServiceAgent wasn't yet generally available. Would be happy to review a PR to switch it to now. We can include in the upcoming release.

@apeabody
Copy link
Collaborator Author

roles/container.nodeServiceAgent

Hi @gorge511 - I believe at the time of the revert that roles/container.nodeServiceAgent wasn't yet generally available. Would be happy to review a PR to switch it to now. We can include in the upcoming release.

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)

@gorge511
Copy link
Contributor

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 🙂
I guess we should continue with the discussion in #1757, there are more people in the discussion.

gorge511 added a commit to gorge511/terraform-google-kubernetes-engine that referenced this pull request Jan 13, 2024
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.
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants